Skip to content

[generator] add provisioning for recursion #23

Description

@iboB

Currently a recursion to another coroutine (say for DFS tree traversal) will cause each top-level resume to call resume and recurse to all instance to the deepest level. Instead the generator may be recursion aware and keep a free list of coroutine handles, only resuming the top one.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions