bisect: add performance improvements
This MR adds a few small changes to hg bisect
that can substantially improve performance in some cases (especially when working in large repositories). In some tests I've run in the mozilla-central
repository, commands like hg bisect --skip 'desc("Bug")'
have gone from taking over a minute to completing in under 10 seconds.
Edited by Raphaël Gomès