mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-09 05:58:55 +00:00
55dd3a3747
matches() is called from resolve_change_id() loop right now, so it's better to not allocate String there. Regarding new IdIndex integration, I'll probably make IdIndex store raw byte ids instead of hexes, and use HexPrefix to look up range and test prefixes. I think this is basically the same as prefix lookup in MutableIndex, but I have no idea if we can factor out a common interface. I made HexPrefix store (Vec<u8>, bool) instead of (Vec<u8>, Option<u8>) so both min/partial prefixes can be borrowed as slice. |
||
---|---|---|
.. | ||
gen-protos | ||
src | ||
tests | ||
testutils | ||
build.rs | ||
Cargo.toml |