Mercurial > hg
comparison tests/test-doctest.py @ 50163:11661326b410
rhg: in path_encode, split Dest into VecDest and MeasureDest
Two separate types make the write semantics easier to understand
because we can consider the two sinks separately.
Having two independent compiled functions for size measurement
and for actual encoding seems likely to improve performance, too.
(and maybe we should get rid of measurement altogether)
Getting rid of [Dest] also removes the ugly option rewrapping
code, which is good.
author | Arseniy Alekseyev <aalekseyev@janestreet.com> |
---|---|
date | Thu, 16 Feb 2023 19:00:56 +0000 |
parents | 40060267df22 |
children | 4f0fad8da04c 7b8769cca23d |
comparison
equal
deleted
inserted
replaced
50162:6baea276a985 | 50163:11661326b410 |
---|