Mercurial > hg
diff mercurial/bdiff.c @ 9602:fc493cb90bb1
Merge with redone c655432c2c24 (issue1860)
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Fri, 16 Oct 2009 11:19:39 +0200 |
parents | 8e202431d620 |
children | 08a0f04b56bd |
line wrap: on
line diff
--- a/mercurial/bdiff.c Fri Oct 16 11:18:38 2009 +0200 +++ b/mercurial/bdiff.c Fri Oct 16 11:19:39 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++) {