Implement levels:anchor_in as a generator. #4

Merged
pyrex merged 1 commits from kistaro/chameleonic:generator_anchors into main 2022-12-18 01:46:31 +00:00

1 Commits

Author SHA1 Message Date
4a53992c3a
Implement levels:anchor_in as a generator.
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.
2022-12-17 17:43:45 -08:00