> [EMAIL PROTECTED] wrote:
> > I'm pretty sure this works.
>
> Ok, I get it now. I misread it the first time.
>
> > This returns the equivalent of running
> > self.objectIds(spec=self._mt_index.keys()) on the current
> > trunk/release code, which should be identical to
> self._tree.keys(), but
[EMAIL PROTECTED] wrote:
I'm pretty sure this works.
Ok, I get it now. I misread it the first time.
This returns the equivalent of running
self.objectIds(spec=self._mt_index.keys()) on the current trunk/release
code, which should be identical to self._tree.keys(), but much, much faster.
I'm
> > Hacking objectIds() as follows (diff against trunk pasted inline) -
> > gettting ids off of the meta type index for all used meta types -
> > seems to make things much quicker. Two questions:
>
> Are you sure this actually works? _mt_index.keys() is
> supposed to provide a list of all m
[EMAIL PROTECTED] wrote:
I have very large BTreeFolder2 (CMFMember via BaseBTreeFolder in Archetypes)
- has about 260k items in _tree - objectIds() is painfully slow, as is
self._tree.keys() - I've casually observed using the meta type index to get
the object ids is many orders of magnitude faste