You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Qt C++ these POCO-like types are normally stack-allocated and passed by value reference. But MIQT currently has to move them to heap pointers to cross the C ABI, requiring extra CGO roundtrips to allocate them from the Qt side.
By using plain Go structs instead, they can be better stored on the stack.
The text was updated successfully, but these errors were encountered:
mappu
changed the title
Project simple Qt types (QRect/F, QSize/F) as plain Go structs
Project simple Qt types (QRect/F, QSize/F, QRgba64) as plain Go structs
Nov 18, 2024
In Qt C++ these POCO-like types are normally stack-allocated and passed by value reference. But MIQT currently has to move them to heap pointers to cross the C ABI, requiring extra CGO roundtrips to allocate them from the Qt side.
By using plain Go structs instead, they can be better stored on the stack.
The text was updated successfully, but these errors were encountered: