- 31 May, 2002 5 commits
-
-
Tim Peters authored
to squash delicate code duplication and for speed. + This is optimized in several subtle ways over the current method. This is documented in Maintainer.txt, along with a correctness proof. + I'll replace all the BTree searches with this soon. For now I just changed _BTree_get(). I *suspect* this also fixes a subtle bug introduced by the recent "don't ignore comparison error" patch: if a comparison did trigger an exception, the function just returned without doing the PER_ALLOW_DEACTIVATION + PER_ACCESSED dance. _BTree_get() does that dance again now.
-
Tim Peters authored
follows from that.
-
Tim Peters authored
neglected to change the name in new comments barely an hour old.
-
Tim Peters authored
"value" to "child". All the rest is mechanical name-changing. Next step is to change the decl of child from PyObject* to Sized*.
-
Tim Peters authored
the common initial fields (pyobject hair, persistence hair, 'size', and 'len'). I think Jim wants the data decls split into a separate file, but I'm unclear on why so am not doing that now. Renamed stuff for consistency. Added some comments. More BTree comments will end up in Maintainer.txt.
-
- 30 May, 2002 1 commit
-
-
Tim Peters authored
input sets quickly, and will become much faster again soon (see TODO in C function multiunion_m).
-
- 08 Mar, 2002 1 commit
-
-
Jeremy Hylton authored
Fix SF bug #516768 reported by Dave Wallace. Replace use of PyMem_DEL() with PyObject_Del() on object dealloc functions. The use of PyMem_DEL() is incorrect for object deallocation, because it only ever calls the low-level free(). If a custom allocator like pymalloc is used, it needs to be called to free the memory. Also replace bare malloc() and realloc() with PyMem_Malloc() and PyMem_Realloc(). I think this isn't a strict bug fix, but a would be nice. It guarantees that BTrees objects get their memory from the same allocator as the Python core.
-
- 21 Feb, 2002 1 commit
-
-
Jeremy Hylton authored
The code was intended to be added to the Zope3 branch, not modified on the trunk.
-
- 20 Feb, 2002 1 commit
-
-
Jeremy Hylton authored
-
- 11 Feb, 2002 1 commit
-
-
Guido van Rossum authored
-
- 25 Jan, 2002 1 commit
-
-
Guido van Rossum authored
-
- 17 Jan, 2002 1 commit
-
-
Jeremy Hylton authored
The Standby-branch was branched from the StandaloneZODB-1_0-branch, which includes the BTrees-fsIndex code. I didn't include that change in the merge, but everything else. Terse summary follows: BTreeModuleTemplate.c: Greg Ward's ConflictError patch
-
- 28 Nov, 2001 1 commit
-
-
matt@zope.com authored
-
- 08 Nov, 2001 1 commit
-
-
Barry Warsaw authored
module dictionary under the "__version__" key. Plugs a small memory leak caught by Insure.
-
- 20 Jun, 2001 2 commits
-
-
matt@zope.com authored
-
matt@zope.com authored
instead of any other error that may be raised.
-
- 03 Apr, 2001 1 commit
-
-
Jim Fulton authored
-
- 02 Apr, 2001 1 commit
-
-
Jeremy Hylton authored
-
- 01 Apr, 2001 1 commit
-
-
Jim Fulton authored
ever) accessed logic).
-
- 27 Mar, 2001 1 commit
-
-
Jim Fulton authored
on some platforms. Added Python wrapper modules to preserve official names.
-
- 20 Mar, 2001 1 commit
-
-
Jim Fulton authored
they are used. This is important to keep used data structures in memory when the ZODB garbage collector is busy. Added Id strings.
-
- 15 Mar, 2001 2 commits
-
-
Jim Fulton authored
- 19 Feb, 2001 4 commits
-
-
Jim Fulton authored
-
Jim Fulton authored
nodes. Optimized pickle formats (using tuple rather than tuple of tuples).
-
Jim Fulton authored
-
Jim Fulton authored
-