1. 18 Jul, 2002 3 commits
    • Tim Peters's avatar
      Gave this a facelift: "/" vs "//", whrandom vs random, etc. Boosted · 8b6ec79b
      Tim Peters authored
      the default range to end at 2**20 (machines are much faster now).
      Fixed what was quite a arguably a bug, explaining an old mystery:  the
      "!sort" case here contructs what *was* a quadratic-time disaster for
      the old quicksort implementation.  But under the current samplesort, it
      always ran much faster than *sort (the random case).  This never made
      sense.  Turns out it was because !sort was sorting an integer array,
      while all the other cases sort floats; and comparing ints goes much
      quicker than comparing floats in Python.  After changing !sort to chew
      on floats instead, it's now slower than the random sort case, which
      makes more sense (but is just a few percent slower; samplesort is
      massively less sensitive to "bad patterns" than quicksort).
      8b6ec79b
    • Tim Peters's avatar
      Gave hotshot.LogReader a close() method, to allow users to close the · 30d48965
      Tim Peters authored
      file object that LogReader opens.  Used it then in test_hotshot; the
      test passes again on Windows.  Thank Guido for the analysis.
      30d48965
    • Guido van Rossum's avatar
      We're no longer trying to support older Python versions with this · 32616cf8
      Guido van Rossum authored
      codebase, so get rid of the pre-2.2 contingency.
      32616cf8
  2. 17 Jul, 2002 22 commits
  3. 16 Jul, 2002 15 commits