Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

GH-112498 Add heapremove and heapfix#307

Closed
kristjanvalur wants to merge 10000 commits into
stackless-dev:main-slpfrom
kristjanvalur:kristjan/heapremove2
Closed

GH-112498 Add heapremove and heapfix#307
kristjanvalur wants to merge 10000 commits into
stackless-dev:main-slpfrom
kristjanvalur:kristjan/heapremove2

Conversation

@kristjanvalur
Copy link
Copy Markdown
Collaborator

This is an alternative PR to python#112497 which adds two functions, heapfix and heapremove.
This is perhaps better, since the use cases are slightly similar. heappop becomes a special case of heapremove, and
it corresponds to what golang does in https://pkg.go.dev/container/heap

Loading
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.