jj/lib
Yuya Nishihara 55dd3a3747 index: do not build hex string to test prefix match, use .as_bytes()
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.
2023-01-19 22:41:29 +09:00
..
gen-protos cargo: bump prost-build from 0.11.5 to 0.11.6 2023-01-13 21:24:02 +00:00
src index: do not build hex string to test prefix match, use .as_bytes() 2023-01-19 22:41:29 +09:00
tests let branches and remote_branches revset functions take needles as arguments 2023-01-16 12:15:30 +05:30
testutils Update MSRV to 1.61 2023-01-19 10:29:39 +01:00
build.rs
Cargo.toml Update MSRV to 1.61 2023-01-19 10:29:39 +01:00