changeset 9534 | 8e202431d620 |
parent 8858 | 16f6c13706df |
child 10282 | 08a0f04b56bd |
--- a/mercurial/bdiff.c Wed Sep 30 14:43:22 2009 -0700 +++ b/mercurial/bdiff.c Sat Oct 03 23:36:08 2009 +0200 @@ -151,7 +151,7 @@ } /* compute popularity threshold */ - t = (bn >= 4000) ? bn / 1000 : bn + 1; + t = (bn >= 31000) ? bn / 1000 : 1000000 / (bn + 1); /* match items in a to their equivalence class in b */ for (i = 0; i < an; i++) {