D1877: bdiff: Handle the possibility of an integer overflow when allocating
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Wed Jan 17 16:49:40 EST 2018
durin42 added a comment.
Wait, I'm a moron, I forgot to do ./hg instead of hg. New results:
Before:
! wall 0.002058 comb 0.000000 user 0.000000 sys 0.000000 (best of 1293)
After:
! wall 0.002107 comb 0.000000 user 0.000000 sys 0.000000 (best of 1342)
so calloc() is very slightly slower, but it's so little I'm not inclined to sweat it.
REPOSITORY
rHG Mercurial
BRANCH
alloc-overflow (bookmark) on default (branch)
REVISION DETAIL
https://phab.mercurial-scm.org/D1877
To: alex_gaynor, #hg-reviewers, durin42
Cc: indygreg, durin42, mercurial-devel
More information about the Mercurial-devel
mailing list