Mercurial > hg
comparison doc/runrst @ 25566:15412bba5a68
revset: prefetch all attributes before loop in _revsbetween
Python is slow at attributes lookup. No, really, I mean -slow-. prefetching
these three methods give use a measurable performance boost.
revset #0: 0::tip
plain
0) 0.037655
1) 0.034290 91%
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Thu, 11 Jun 2015 11:42:46 -0700 |
parents | 1ae824142c01 |
children | 63eae465095e |
comparison
equal
deleted
inserted
replaced
25565:be4dc0007b8d | 25566:15412bba5a68 |
---|