comparison mercurial/dagutil.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 e34106fa0dc3
children 37e2bd560805
comparison
equal deleted inserted replaced
16954:8f36806b8f6a 16955:92e1c64ba0d4