Mercurial > hg
view .gitattributes @ 51396:3f37d80d3ab4
revlog: add a C implementation of `headrevsdiff`
Python implementation of `headrevsdiff` can be very slow in the worst
case compared with the `heads` computation it replaces, since the
latter is done in C.
Even the average case of this Python implementation is still
noticeable in the profiles.
This patch makes the computation much much faster by doing it in C.
author | Arseniy Alekseyev <aalekseyev@janestreet.com> |
---|---|
date | Thu, 21 Dec 2023 20:30:03 +0000 |
parents | 9fa3cda7449e |
children |
line wrap: on
line source
# So GitLab doesn't think we're using tons of Perl *.t -linguist-detectable