Mercurial > hg
diff Makefile @ 24662:b5cd8c2f6e65
changelog: inline revlog.__contains__ in case it is used in hot loop
Currently __contains__ is called only by "rev()" revset, but "x in cl" is a
function that is likely to be used in hot loop. revlog.__contains__ is simple
enough to duplicate to changelog, so just inline it.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 04 Apr 2015 22:30:59 +0900 |
parents | d80819f67d59 |
children | 64e3f97bdf08 |