1. 17 Dec, 2002 5 commits
  2. 16 Dec, 2002 17 commits
  3. 13 Dec, 2002 2 commits
    • Barry Warsaw's avatar
      Pass the final crop of ZEO and restore tests. Changes include: · c6ebcedf
      Barry Warsaw authored
      _dorestore(): Adopt the FileStorage semantics for when the transaction
      pointed to by prev_txn does not exist.  This can happen if we're
      restoring to a storage where that transaction has been packed away.
      In that case, treat prev_txn as a hint and ignore it. :)
      
      _TransactionsIterator.__len__(): Give this a dummy (and lying)
      implementation which is just good enough for Python 2.1.3 support.
      c6ebcedf
    • Andreas Jung's avatar
      removed unused imports · a675bdb0
      Andreas Jung authored
      a675bdb0
  4. 12 Dec, 2002 1 commit
  5. 11 Dec, 2002 2 commits
  6. 10 Dec, 2002 4 commits
  7. 09 Dec, 2002 2 commits
    • Casey Duncan's avatar
      Remove import added for testing · 471b053f
      Casey Duncan authored
      471b053f
    • Casey Duncan's avatar
      More sorting improvements: · e45028f3
      Casey Duncan authored
      * Changed logic for activating first sort algorithm to elminate bad performance with large result sets (20k+). The full sort is now faster for a larger proportion of cases. This algorithm is also skipped now if a sort limit value is passed.
      
      * Full sort now handles sort limits where the limit is 25% or greater of the total result where N-Best performance degrades. This allows the application to always apply a sort limit up to and beyond the result set length.
      
      * Added an "N-worst" sort handler to deal with forward sort limits (previously only reverse limits worked properly).
      
      * Small optimizations to N-best/worst to wring out a few more CPU cycles.
      e45028f3
  8. 06 Dec, 2002 7 commits
    • Barry Warsaw's avatar
      BerkeleyConfig.__repr__(): Dumb little thing which helps to know how · d4ce5d0c
      Barry Warsaw authored
      it's configured when you see it in the log files.
      d4ce5d0c
    • Casey Duncan's avatar
      Changes to non-merged results returned by search: · 7eab805a
      Casey Duncan authored
      * For unsorted sets, merged and non-merged results are identical (lazy results)
      
      * For sorted sets, merged results are lazy and non-merged are lists of three tuples that can later be merged and sorted using mergeResults
      
      The mergeResults function has been simplified greatly and now simply accepts a list of result sets in its first argument.
      7eab805a
    • Barry Warsaw's avatar
      Cosmetic · d67a753e
      Barry Warsaw authored
      d67a753e
    • Barry Warsaw's avatar
      _RecordsIterator.__init__(): Port transaction extension fix from · 63fe89cd
      Barry Warsaw authored
      ZODB4.  We need to return the unpickled extension data.
      63fe89cd
    • Barry Warsaw's avatar
      Bump the version number · 36c6b8f1
      Barry Warsaw authored
      36c6b8f1
    • Barry Warsaw's avatar
      Simplify again the WorkThread api. Don't use a non-portable poll · f595bdbf
      Barry Warsaw authored
      object -- because we just care about one event we can simply use a
      threading.Event object.  Specific changes include,
      
      BerkeleyBase.py
      
          __init__(): Simplify the creation of the checkpointer and
          autopacker worker threads.
      
          close(): Replace autopacker.stop() with setting the Event object.
          This both kicks us out of the wait() and sets the thread's
          internal stop flag, so it's all we need.
      
          _WorkThread.init(): Take the `name' argument out of the
          constructor.  It was the only thing that 2/3rds of the subclasses
          needed to override, so just stick it in a class attribute.
      
          run(): Simplify to use the Event object.  Also, change _nextcheck
          to recalculate `now' after the work is done.  There's no telling
          how much time the work will take (it may not matter much in
          practice).
      
          stop(): Removed.
      
          _Checkpoint.__init__(): Removed
      
      Full.py
      
          _make_autopacker(): Updated
      
          _Autopack.__init__(): Updated
      
      Minimal.py
      
          _make_autopacker(): Updated
      
          _Autopack.__init__(): Removed
      f595bdbf
    • Jeremy Hylton's avatar
      Statement appears to have no effect. · 6fd17cc8
      Jeremy Hylton authored
      6fd17cc8