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

Add peek pop minimum #4

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open

Add peek pop minimum #4

wants to merge 14 commits into from

Conversation

mr-bat
Copy link

@mr-bat mr-bat commented May 23, 2019

The only thing that remained is that the getFirstNode method doesn't let go of nodes properly. Which prevents them from being cleared of the tree and produces memory leak.
I couldn't find the source, take a look, maybe you can fix it simply.

Edit: This was fixed. Now the branch is fully functional!

@mr-bat mr-bat changed the title WIP: Add peek pop minimum Add peek pop minimum May 23, 2019
@myui
Copy link
Owner

myui commented Jun 27, 2019

Thank you for the patch.

I would like to make the core as simple as possible for maintenancebility.

I think at least peekMinimum can more simply be implemented using IndexQuery.

Let me think and explore about it in my spare time.

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 this pull request may close these issues.

2 participants