HomePhabricator

branchmap: load branchmap as an iterable

Authored by mjpieters.

Description

branchmap: load branchmap as an iterable

This avoids reading all the file into memory if the cache turns out to be
invalid.

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

Details

Committed
mjpietersAug 13 2018, 4:22 PM
Differential Revision
D4281: branchmap: load branchmap as an iterable
Parents
rHGf16c3efe35e3: perf: time loading branchmap caches
Branches
Unknown
Tags
Unknown