-
Notifications
You must be signed in to change notification settings - Fork 357
Open
Labels
bug 🐛An issue that needs fixing.An issue that needs fixing.
Description
Pre-Report Checklist
- I am running the latest versions of pyQuil and the Forest SDK
- I checked to make sure that this bug has not already been reported
Issue Description
Each time the .instructions property of a program is called, the entire instruction list must be converted from rust. This makes accessing instructions by index very slow.
Line 217 in 0b9489c
| return list(self.declarations.values()) + _convert_to_py_instructions(self._program.body_instructions) |
Metadata
Metadata
Assignees
Labels
bug 🐛An issue that needs fixing.An issue that needs fixing.