Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace .shift() with a faster queue implementation #10

Closed
slikts opened this issue Oct 2, 2018 · 1 comment
Closed

Replace .shift() with a faster queue implementation #10

slikts opened this issue Oct 2, 2018 · 1 comment

Comments

@slikts
Copy link
Owner

slikts commented Oct 2, 2018

Array#shift() is slow for longer queues: https://github.com/slikts/queueable/blob/master/src/Queue.ts#L23

@slikts
Copy link
Owner Author

slikts commented Oct 2, 2018

Fixed in d16c58b

@slikts slikts closed this as completed Oct 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant