On 26 Jun 2006, at 15:02, Chris Withers wrote:
Florent Guillaume wrote:
BTrees perform best when keys' prefixes are randomly distributed.
So if your application generates keys like 'foo001', 'foo002',...
you'll get lots of conflicts. Same for consecutive integers in
IOBTree.
Tempted to
On 26 Jun 2006, at 15:12, Chris Withers wrote:
Florent Guillaume wrote:
This patch didn't seem to cure our Zope 2.8 afflicted with the
assert end is not None problem.
Florent,
Have you actually seen any problems from these errors?
I still see them occasionally, but they never seem to have
Andreas Jung wrote:
BTrees perform best when keys' prefixes are randomly distributed.
So if your application generates keys like 'foo001', 'foo002',... you'll
get lots of conflicts. Same for consecutive integers in IOBTree.
Tempted to call bullshit on this, since there's code in the catalog
On Jun 26, 2006, at 3:16 PM, Florent Guillaume wrote:
On 26 Jun 2006, at 21:11, Robert Gravina wrote:
On 2006/06/27, at 3:49, Benji York wrote:
Robert Gravina wrote:
I just tried loading a persisted object interactively and
noticed that although the _p_oid doesn't print out as anything
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Robert Gravina wrote:
On 2006/06/27, at 3:49, Benji York wrote:
Robert Gravina wrote:
I just tried loading a persisted object interactively and noticed
that although the _p_oid doesn't print out as anything (and hence I
always thought it
Hallo Florent,
Florent Guillaume wrote at 2006-6-26 00:53 +0200:
Dieter Maurer wrote:
Chris Withers wrote at 2005-12-14 16:23 +:
...
File lib/python/ZODB/Connection.py, line
788, in _setstate_noncurrent
assert end is not None
AssertionError
This means that the latest
def __eq__(self, other):
if isinstance(other, name of my class):
if hasattr(other,_p_oid) and other._p_oid != None
and (other._p_oid == self._p_oid):
return True
else:
return False
and now can compare objects for equality
[Dieter Maurer]
The newest pickle formats can also handle the class references
is bit more efficiently -- at least when a single transaction
modifies many objects of the same class.
[Chris Withers]
I know ZC was involved in the work to introduce these new pickle
formats, but are they actually
On Mon, Jun 26, 2006 at 05:28:51PM -0400, Tim Peters wrote:
| AFAIK, nobody anywhere has used this yet, outside of Python's test
| suite. It was intended to be a simple, cheap approach to cutting
| pickle bloat for apps motivated enough to set up the registry. You'll
| note that half the