comparison mercurial/templatekw.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 bdd1ed80e26e
children 293dd81e4601
comparison
equal deleted inserted replaced
16954:8f36806b8f6a 16955:92e1c64ba0d4