Skip to content

next function taking an optional value of steps #94

@delbertaud

Description

@delbertaud

I've noticed while processing a large run (number of iterations) that refreshing the progress bar with a bar.next() on each causes a delay. It might be of value to add an optional incoming attribute of the next function that would just the bar forward x steps without refreshing the bar on each step. Example if I'm iterating over 1,000,000 items in a list but only wish to refresh the progress bar every 1,000 making a bar.next(1000) would be efficient.

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