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

1 Commits

Author SHA1 Message Date
a0da322c3d Implement levels:anchor_in as a generator. (#4)
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>
2022-12-18 01:46:30 +00:00