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

Obsolete #5

Closed
wants to merge 8 commits into from
Closed

Obsolete #5

wants to merge 8 commits into from

Conversation

FrnchFrgg
Copy link

So that there are less allocations/copies, and so that nothing prevents to change the API to unhashable objects (like []byte)

@FrnchFrgg FrnchFrgg force-pushed the master branch 3 times, most recently from 30b9bc6 to ad6fa83 Compare November 5, 2019 11:39
Julien "_FrnchFrgg_" RIVAUD added 3 commits November 5, 2019 15:03
Julien "_FrnchFrgg_" RIVAUD added 4 commits November 5, 2019 15:44
encoding.binary does too much copies.
It should avoid even more allocations, and be faster too.
Also create a custom type for hash results for clarity and ease of
change if we need to update the hash.
@FrnchFrgg FrnchFrgg changed the title Remove all map[string] in difflib Create a []byte API and implementation in a bytes subpackage Nov 5, 2019
@FrnchFrgg FrnchFrgg closed this Nov 5, 2019
@FrnchFrgg FrnchFrgg changed the title Create a []byte API and implementation in a bytes subpackage Obsolete Nov 5, 2019
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.

1 participant