comparison mercurial/demandimport.py @ 16955:92e1c64ba0d4

parsers: add a C function to pack the dirstate This is about 9 times faster than the Python dirstate packing code. The relatively small speedup is due to the poor locality and memory access patterns caused by traversing dicts and other boxed Python values.
author Bryan O'Sullivan <bryano@fb.com>
date Wed, 30 May 2012 12:55:33 -0700
parents 868282fa29d8
children e3a5922e18c3
comparison
equal deleted inserted replaced
16954:8f36806b8f6a 16955:92e1c64ba0d4