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

[SE-0206][stdlib] Implement Hasher API (underscored) #16009

Merged
merged 3 commits into from
Apr 19, 2018

Conversation

lorentey
Copy link
Member

@lorentey lorentey commented Apr 18, 2018

This renames append to combine, and adds support for combining any number of bytes to _Hasher. However, _Hasher remains non-public for now; I'll submit a separate PR to de-underscore it pending the proposal's acceptance.

The new functionality implemented here will be used to speed up hashing in followup PRs.

This PR also de-gybs the SipHash implementation, unifying the implementation of the two variants. (SipHash-2-4 remains unused in the stdlib; it can be safely removed later.)

@lorentey lorentey requested a review from milseman April 18, 2018 17:02
@lorentey
Copy link
Member Author

@swift-ci please test

@lorentey
Copy link
Member Author

lorentey commented Apr 18, 2018

(This is change no. 1 in a series of PRs spawned from #15939)

@lorentey lorentey changed the title [SE-0206][stdlib] _Hasher: Implement proposed functionality [SE-0206][stdlib] Implement Hasher API (underscored) Apr 18, 2018
@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - 7e66a38

@lorentey
Copy link
Member Author

@swift-ci please test

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