Files
cpython/Lib
Tim Peters 2d8b765cc9 New test for sorting sanity. Note that this will fail in earlier Pythons,
in the stability tests.

Bizarre:  this takes 11x longer to run if and only if test_longexp is
run before it, on my box.  The bigger REPS is in test_longexp, the
slower this gets.  What happens on your box?  It's not gc on my box
(which is good, because gc isn't a plausible candidate here).

The slowdown is massive in the parts of test_sort that implicitly
invoke a new-style class's __lt__ or __cmp__ methods.  If I boost
REPS large enough in test_longexp, even the test_sort tests on an array
of size 64 visibly c-r-a-w-l.  The relative slowdown is even worse in
a debug build.  And if I reduce REPS in test_longexp, the slowdown in
test_sort goes away.

test_longexp does do horrid things to Win98's management of user
address space, but I thought I had made that a whole lot better a month
or so ago (by overallocating aggressively in the parser).
2002-08-01 02:23:06 +00:00
..
2002-07-23 20:35:58 +00:00
2002-07-18 19:48:46 +00:00
2002-06-11 06:22:31 +00:00
2002-06-13 17:59:51 +00:00
2002-06-01 01:29:16 +00:00
2002-07-25 16:10:38 +00:00
2002-07-16 21:35:23 +00:00
2002-06-01 16:07:16 +00:00
2002-06-01 16:07:16 +00:00
2002-05-23 23:58:17 +00:00
2002-07-16 21:35:23 +00:00
2002-06-02 00:40:05 +00:00
2002-06-02 00:40:05 +00:00
2002-07-16 21:35:23 +00:00
2002-05-23 15:15:30 +00:00
2002-05-31 14:15:11 +00:00
2002-07-16 21:35:23 +00:00
2002-04-13 14:03:38 +00:00
2002-07-16 21:35:23 +00:00