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

#PriorityQueueInMultiLeasePool Change from linear queue to priority queue in MultiLeasePool #270

Open
RamAnvesh opened this issue Jul 19, 2024 · 0 comments
Labels
good first issue Good for newcomers size: xs super small change

Comments

@RamAnvesh
Copy link
Collaborator

Currently we do a lot of book keeping to perform round robin on the leased items. This is O(n) in the number of items.
Ideally we should just use Priority queue so that the least leased item is always on top. This will be O(log n)

@RamAnvesh RamAnvesh added good first issue Good for newcomers size: xs super small change labels Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers size: xs super small change
Projects
None yet
Development

No branches or pull requests

1 participant