Skip to content

Hash#14

Open
henry808 wants to merge 59 commits intomasterfrom
hash
Open

Hash#14
henry808 wants to merge 59 commits intomasterfrom
hash

Conversation

@henry808
Copy link
Collaborator

No description provided.

henry808 and others added 30 commits March 4, 2015 13:53
…est for tree.size() in the case of a filled tree.
hash.py Outdated
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

be careful about using this term, as heap has a very specific meaning in computer science. It's misleading to call this a heap, as it is really just a list.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the start value is 0 you don't need to specify it. That makes this whole expression a bit cleaner if you say something like:

self.h_list = [[] for _ in range(buckets)]

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