HomePhabricator

dirstate-tree: Borrow paths from the "on disk" bytes

Authored by SimonSapin.

Description

dirstate-tree: Borrow paths from the "on disk" bytes

Use std::borrow::Cow to avoid some memory allocations and copying.

Differential Revision: https://phab.mercurial-scm.org/D10560