Skip to content

Add a new func: BatchSum64String - #85

Open
ahfuzhang wants to merge 2 commits into
cespare:mainfrom
ahfuzhang:dev/batch
Open

Add a new func: BatchSum64String#85
ahfuzhang wants to merge 2 commits into
cespare:mainfrom
ahfuzhang:dev/batch

Conversation

@ahfuzhang

Copy link
Copy Markdown

For example, the VictoriaLogs log server needs to calculate the hash values ​​of a large number of strings at once. I hope to optimize this use case by providing a batch function.

I used the prefetch directive to preload the next string to be calculated. Using this method, I found a performance improvement of up to approximately 0.7%.

This improvement is negligible; the main reason is that you guys did an excellent job. Anyway, it's an improvement.

If such modifications are acceptable, I will provide an optimized version for arm64 next time.

Thank you. And Merry Christmas.

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