Skip to content

Conversation

@AWoloszyn
Copy link
Contributor

This optimizes byte slice operations, we know the alignment/padding of all byte slice copies, and can short-circuit that.

sha                         | 439258          | 9763af
report-time                 | 35.587207037    | 15.145947193  (-57.4%)
linearize-time              | 68.196633551    | 25.444779976  (-62.7%)

@AWoloszyn AWoloszyn requested review from ben-clayton and qining May 25, 2018 15:18
@AWoloszyn AWoloszyn merged commit 9c9efe4 into google:master May 25, 2018
@AWoloszyn AWoloszyn deleted the byte-slices branch May 25, 2018 17:55
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