comparison mercurial/wireproto.py @ 12709:4147a292c508

filectx: use ctx.size comparisons to speed up ctx.cmp Comparing sizes is cheaper than comparing file contents, as it does not involve reading the file on disk or from the filelog. It is however not always possible: some extensions, or encode filters, change data when extracting it to the working directory.
author Nicolas Dumazet <nicdumz.commits@gmail.com>
date Tue, 27 Jul 2010 23:07:30 +0900
parents 40bb5853fc4b
children 6c375e07d673
comparison
equal deleted inserted replaced
12708:8a08b12ae88e 12709:4147a292c508