Mercurial > public > mercurial-scm > hg
diff rust/hg-core/src/filepatterns.rs @ 50160:5ce53ff6133a
rhg: in path_encode add a DestArr type
This is an implementation of Sink trait that writes into a fixed-size
buffer on the stack, so identical to what was done before, but
it makes the code of [hash_encode] easier to understand by dropping
all these slice manipulations.
author | Arseniy Alekseyev <aalekseyev@janestreet.com> |
---|---|
date | Thu, 16 Feb 2023 18:41:06 +0000 |
parents | e98fd81bb151 |
children | 1c31b343e514 |