[Zope-CMF] Portal BTree Folder alpha available

Dan L. Pierson dan@control.com
Wed, 23 May 2001 10:48:14 -0400


--On Wednesday, May 23, 2001 08:44:25 AM +0100 Chris Withers 
<chrisw@nipltd.com> wrote:

> Did you change the code to use the new BTrees?

Uh, no I didn't (because I hadn't looked at the new BTrees enough to
be sure what changes are needed).

> IIRC, you need to change:
>
> from BTree import BTree
> ...to...
> from BTrees import OOBTree
>
> ...you'll then need to change references to BTree (I think there's only
> the one) to OOBTree

If it's this simple I'll try it today and upload a new version if it works.

> BTW, I remember comments on a mailing list from Shane saying that he and
> Jim had discussed this problem and found an even mroe efficient solution
> than just using BTree's. I think the details might be in the zope-dev
> archive, but if not, maybe Shane could help you out :-)

I'm sure that Shane and Jim could come up with a better solution but we need
something now :-)  There's also a dogbowl note from February that something
like this is needed.  It mentions something by Ken Mannheimer that DC hasn't
released as an alternative.

Thanks,

Dan