mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-16 00:56:23 +00:00
ed18b5bdc5
Since patience diff is recursive, it makes some sense to reuse precomputed hash values. This patch migrates Histogram to remembering hashed values. The precomputed values will be cached globally by DiffSource. Technically, Histogram doesn't have to keep a separate copy of hash values, but this appears to give better perf than slicing text and hash value from two Vecs. |
||
---|---|---|
.. | ||
benches | ||
gen-protos | ||
proc-macros | ||
src | ||
tests | ||
testutils | ||
Cargo.toml | ||
LICENSE |