Tim Peters wrote: > [Delaney, Timothy C (Timothy)] > >>I guess it would depend on how consistently it could be provoked. > > That's the rub -- it depends on whether the system realloc() manages > (in the pre-patch code) to extend the initial empty_ob_item thingie > in-place, and do all subsequent extends in-place too. The overall > odds should be better the shorter the initial list (> 1), but it still > depends on the system realloc(), and almost certainly depends too on > the state of the C malloc heap at the time the test begins. If a shorter list would provoke this more consistently, would there be a benefit in having test_sort run this test twice? (Once with length 50, once with length 3) Regards, Nick. -- Nick Coghlan | Brisbane, Australia Email: ncoghlan at email.com | Mobile: +61 409 573 268
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4