Skip to content

Why recursion instead of a loop?  #2

@giohappy

Description

@giohappy

I noticed that the sleep_precisely_until uses recursion instead of looping. I wonder if there's a reason for this, given that function calls are heavier then a simple while loop, and that recursion could hit the max recursion depth (generally 1000).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions