Mercurial > hg
comparison contrib/check-code.py @ 16423:a150923b49ba
revlog: avoid an expensive string copy
This showed up in a statprof profile of "hg svn rebuildmeta", which
is read-intensive on the changelog. This two-line patch improved
the performance of that command by 10%.
author | Bryan O'Sullivan <bryano@fb.com> |
---|---|
date | Thu, 12 Apr 2012 20:26:33 -0700 |
parents | 1a420761fcb7 |
children | 9b26d541e972 |
comparison
equal
deleted
inserted
replaced
16422:c0b5bab3fb11 | 16423:a150923b49ba |
---|