Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@tabuna
Copy link
Member

@tabuna tabuna commented Apr 23, 2025

This PR improves performance of UI component hashing by replacing the legacy sha1 algorithm with the much faster and more modern xxh3 hash.

Performance

Benchmarks show xxh3 is up to 10x faster than sha1 for short strings and small payloads, making it a better fit for UI-level hashing.

https://php.watch/versions/8.1/xxHash

@tabuna tabuna changed the title Refactor component hashing: switch to xxh3 and simplify field ID generation Refactor component hashing: switch to xxh3 Apr 23, 2025
@tabuna tabuna merged commit 88f45fe into master Apr 23, 2025
79 of 92 checks passed
@tabuna tabuna deleted the hash_screen_element branch April 23, 2025 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants