Implement levels:anchor_in as a generator. (#4) #5

Merged
kistaro merged 1 commits from pyrex/chameleonic:main into main 2022-12-18 01:47:55 +00:00
Owner

This gets rid of the (substantial!) overhead of preparing a list and then iterating over it, in exchange for a bit of bookkeeping to simulate the prior behavior of the for loop, which is much cheaper.

Reviewed-on: pyrex/chameleonic#4
Co-authored-by: Kistaro Windrider kistaro@gmail.com
Co-committed-by: Kistaro Windrider kistaro@gmail.com

This gets rid of the (substantial!) overhead of preparing a list and then iterating over it, in exchange for a bit of bookkeeping to simulate the prior behavior of the for loop, which is much cheaper. Reviewed-on: https://git.chromaticdragon.app/pyrex/chameleonic/pulls/4 Co-authored-by: Kistaro Windrider <kistaro@gmail.com> Co-committed-by: Kistaro Windrider <kistaro@gmail.com>
kistaro added 1 commit 2022-12-18 01:47:49 +00:00
This gets rid of the (substantial!) overhead of preparing a list and then iterating over it, in exchange for a bit of bookkeeping to simulate the prior behavior of the for loop, which is much cheaper.

Reviewed-on: pyrex/chameleonic#4
Co-authored-by: Kistaro Windrider <kistaro@gmail.com>
Co-committed-by: Kistaro Windrider <kistaro@gmail.com>
kistaro merged commit a0da322c3d into main 2022-12-18 01:47:55 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: kistaro/chameleonic#5
No description provided.