comparison tests/test-ancestor.py.out @ 27063:37e1fdcb271c

context: optimize _parents() This patch avoids some extra attribute lookups and list mutations. This micro-optimization seems to result in a minor speedup for `hg log` on my Firefox repo: before: 25.35s after: 24.91s delta: -0.44s (98% of original) Not the biggest gain. But every little bit helps.
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 21 Nov 2015 19:04:12 -0800
parents 3b1b8f25443e
children b6db2e80a9ce
comparison
equal deleted inserted replaced
27062:e4f2e4f5e98d 27063:37e1fdcb271c