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

Improve "hash brownies" example and explanation #76

Open
wants to merge 1 commit into
base: master
from

Conversation

@jab
Copy link

@jab jab commented Mar 27, 2018

I found the current "hash brownies" example and explanation confusing, so I'm proposing these changes.

This is clearer because it focuses on equivalence as the key principle first, without muddying the waters with hashing and immutability up front.

Once this does mention hashing, it explains it in the context of being a performance optimization (which is all it is), not as something that is central to what containment in a dict actually means.

Hope this helps!

@cclauss
Copy link
Contributor

@cclauss cclauss commented Dec 26, 2019

Resolve conflicts?

@jab
Copy link
Author

@jab jab commented Dec 28, 2019

I'll leave it up to @satwikkansal, whose 7b22f84 (in response to my #77) landed before this did with overlapping intent.

satwikkansal added a commit that referenced this pull request Dec 31, 2019
@satwikkansal
Copy link
Owner

@satwikkansal satwikkansal commented Dec 31, 2019

Sorry, totally forgot about this PR. Addressed this PR in the recent commit 185d60c, I think it can be closed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.