quil-rs icon indicating copy to clipboard operation
quil-rs copied to clipboard

Are `BasicBlockOwned` and related structs a performance bottleneck for Python users?

Open asaites opened this issue 4 months ago • 0 comments

The conversions to/from these Owned types and their non-Owned counterparts involves a lot of cloning, and they're the types exposed by the Python bindings. At present, this is just a code-smell, and might not be important enough to care about, so we should get some benchmark data, and if it is an issue, determine if we can combine their relevant methods or otherwise avoid the costly conversions.

asaites avatar Aug 31 '25 18:08 asaites