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

Can we improve on the performance of pop()? #15

Closed
davecom opened this issue Oct 20, 2018 · 1 comment
Closed

Can we improve on the performance of pop()? #15

davecom opened this issue Oct 20, 2018 · 1 comment

Comments

@davecom
Copy link
Owner

davecom commented Oct 20, 2018

I came across this article in which the performance of SwiftPriorityQueue was far lower than both an Objective-C priority queue and the C++ STL priority queue because we're spending 68% of his tests in pop() whereas they are spending <10% of their time in his tests on pop(). What can be improved about our pop() implementation? Here's the article, and the relevant section is 6.2:
https://miun.diva-portal.org/smash/get/diva2:1135549/FULLTEXT01.pdf

davecom added a commit that referenced this issue Oct 16, 2019
Pop performance (addresses #15)
@davecom
Copy link
Owner Author

davecom commented Oct 16, 2019

Closed by #20

@davecom davecom closed this as completed Oct 16, 2019
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

Successfully merging a pull request may close this issue.

1 participant