Skip to content

Try to optimize runner's tight inner loop #2

@seriyps

Description

@seriyps

%% Inner tight loop
do_run_n(_, _, 0) ->
ok;
do_run_n(F, St, N) ->
F(St),
do_run_n(F, St, N - 1).

Should find if it's possible to somehow minimize the amount of work done by the loop.

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