Conversation
|
Started benchmark workflow for this PR with test type =
|
|
Started benchmark workflow for this PR with test type =
|
6d64b99 to
d328c05
Compare
|
Started benchmark workflow for this PR with test type =
|
|
Started benchmark workflow for this PR with test type =
|
Please fill the PR description:
|
|
Started benchmark workflow for this PR with test type =
|
|
Started benchmark workflow for this PR with test type =
|
| hasher.update(page.byteArray(), page.byteArrayOffset(), page.length()); | ||
| int size = pages.stream().mapToInt(Slice::length).sum(); | ||
| long checksum; | ||
| if (size > 16384) { |
There was a problem hiding this comment.
It seems that for small slices the cost of calling native outweights the benefits of a faster hashing function
There was a problem hiding this comment.
could the magic live in aircompressor ?
There was a problem hiding this comment.
also, if we cannot move this switch there, the code as it stands now absolutely requires code comment
|
cc @dain |
Description
Additional context and related issues
Release notes
(x) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text: