Thread (1 message) 1 message, 1 author, 2025-07-21

Re: [PATCH 0/7] RFC: Accelerate xdiff and begin its rustification

From: Junio C Hamano <hidden>
Date: 2025-07-21 18:33:55

Phillip Wood [off-list ref] writes:
... by 15%. Just over half of that seems to come from hoisting the
check for whitespace flags in xdl_hash_record() out of the loop
in xdl_prepare_ctx() and the rest comes from the change in hash
function.
The first half of that alone is interesting enough ;-).
As I understand it the hash is implemented using SIMD
compiler intrinsics and the rust implementation is basically a
copy of the C code in libxxhash. I wonder how well xxhash performs
compared to our existing hash on platforms without an optimized
implementation.
Yeah, that indeed is worth investigating.

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help