Mercurial > hg
comparison tests/test-removeemptydirs.t @ 45357:27424779c5b8
hg-core: make parse_dirstate return references rather than update hashmaps
Returing a vec is faster than updating a hashmap when the hashmap is not needed
like in `hg files` which just list tracked files.
Returning references avoid copying data when not needed improving performence
for large repositories.
Differential Revision: https://phab.mercurial-scm.org/D8861
author | Antoine Cezar <antoine.cezar@octobus.net> |
---|---|
date | Tue, 04 Aug 2020 10:59:43 +0200 |
parents | 42e2c7c52e1b |
children | e9fbf8fd5f33 |
comparison
equal
deleted
inserted
replaced
45356:f025b97f3758 | 45357:27424779c5b8 |
---|