diff rust/hg-core/src/lib.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 c15b415d1bff
children a8531bd9210b
line wrap: on
line diff