Skip to content

Conversation

@MengAiDev
Copy link

@MengAiDev MengAiDev commented Jul 21, 2025

HeapDict is a hybrid data structure combining dictionary and heap functionalities, providing efficient key-value access and priority-based operations. Key features include:

  • Basic dictionary operations: set/get/delete key-value pairs, key existence check, size retrieval, key iteration
  • Heap operations: remove-and-return minimum key-value pair, peek minimum pair without removal, update priority of existing keys

HeapDict is a hybrid data structure combining dictionary and heap functionalities, providing efficient key-value access and priority-based operations. Key features include:

- Basic dictionary operations: set/get/delete key-value pairs, key existence check, size retrieval, key iteration
- Heap operations: remove-and-return minimum key-value pair, peek minimum pair without removal, update priority of existing keys
@picnixz
Copy link
Member

picnixz commented Jul 21, 2025

I'm rejecting this PR under the basis that it's likely generated by AI (compatibility with Python 3.7 is something we wouldn't expect at all and neither would we expect a __future__ import in the middle of a file as it's wrong).

@picnixz picnixz closed this Jul 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants