Mercurial > hg
comparison tests/check-perf-code.py @ 41084:84491ae0b3f0
revlog: more efficient implementation for issnapshot
We avoid multiple method calls and tuple creation, this provides a significant
speedup in some case:
example affected manifest write
before: 0.815520s
after: 0.487767s (-40%)
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Mon, 17 Dec 2018 10:51:36 +0100 |
parents | bd872f64a8ba |
children | eb8a8af4cbd0 |
comparison
equal
deleted
inserted
replaced
41083:cbc3cbd9ff93 | 41084:84491ae0b3f0 |
---|