diff rust/hg-cpython/src/lib.rs @ 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 d4f19eb471ca
children 50c5ee3bdf9a
line wrap: on
line diff