Re: [Zope-dev] New version of BTreeFolder

2000-08-31 Thread Toby Dickenson
On Mon, 28 Aug 2000 20:41:05 -0700, Kapil Thangavelu [EMAIL PROTECTED] wrote: i ran some basic tests comparing a btree folder against a folder. i'm not sure about my testing methodology but here are the results. the test code is at the end of this email. Im not sure this benchmark is measuring

Re: [Zope-dev] New version of BTreeFolder

2000-08-29 Thread Kapil Thangavelu
Kapil Thangavelu wrote: Shane Hathaway wrote: BTW has anyone done any semi-formal speed tests? It's rumored that a custom getattr in Python can cause a bit of a slowdown. We could write a custom getattr in C to solve the problem. But we don't want to do any premature optimization.

Re: [Zope-dev] New version of BTreeFolder

2000-08-29 Thread Shane Hathaway
Kapil Thangavelu wrote: semi-formal test i ran some basic tests comparing a btree folder against a folder. i'm not sure about my testing methodology but here are the results. the test code is at the end of this email. (snip) some quick conclusions. the btree folder is slower on

[Zope-dev] New version of BTreeFolder

2000-08-28 Thread Shane Hathaway
Hi gang, This version just fixes a bug with the folder contents tab on Windows. For some reason, on Windows 95 (and perhaps other platforms) the Python interpreter behaves differently enough that if you use a class attribute from a different module and put it in your own class, you may in fact

Re: [Zope-dev] New version of BTreeFolder. Just a Newbie Question

2000-08-28 Thread LEE Kwan Soo
already too sleepy now. sorry. - Original Message - From: "Shane Hathaway" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, August 28, 2000 10:26 PM Subject: [Zope-dev] New version of BTreeFolder Hi gang, This version just fixes a bug with the folder contents tab

Re: [Zope-dev] New version of BTreeFolder. Just a Newbie Question

2000-08-28 Thread Shane Hathaway
LEE Kwan Soo wrote: Oh, well, I'd bet this is a silly question. But I can not resist nor find answer by myself. Q: Why don't you BTree-fy all the subclasses of ObjectManager? Is there a reason that anyone but can a newbie see? Obviously what BTreeFolder does should be available in

Re: [Zope-dev] New version of BTreeFolder

2000-08-28 Thread Kapil Thangavelu
Shane Hathaway wrote: Hi gang, This version just fixes a bug with the folder contents tab on Windows. For some reason, on Windows 95 (and perhaps other platforms) the Python interpreter behaves differently enough that if you use a class attribute from a different module and put it in

Re: [Zope-dev] New version of BTreeFolder. Just a Newbie Question

2000-08-28 Thread Bill Anderson
Shane Hathaway wrote: LEE Kwan Soo wrote: Oh, well, I'd bet this is a silly question. But I can not resist nor find answer by myself. Q: Why don't you BTree-fy all the subclasses of ObjectManager? Is there a reason that anyone but can a newbie see? Obviously what BTreeFolder does

Re: [Zope-dev] New version of BTreeFolder. Just a Newbie Question

2000-08-28 Thread Shane Hathaway
Bill Anderson wrote: Any chance at a BTree Folder w/customizer support in the near future? :) It should be quite easy to do. I vaguely recall Steve A or Steve S might have done it. Shane ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: [Zope-dev] New version of BTreeFolder. Just a Newbie Question

2000-08-28 Thread Steve Alexander
Bill Anderson wrote: Any chance at a BTree Folder w/customizer suppor tin the near future? :) I did some work towards this. However, I didn't continue. I realised that I could get the same effect by having a BTreeFolder inside a Customizer Folder. The only downside is a slightly longer URL

Re: [Zope-dev] New version of BTreeFolder

2000-08-28 Thread Shane Hathaway
Steve Alexander wrote: BTreeFolder doesn't do the from Globals import default__class_init__ default__class_init__(BTreeFolder) thing. Does that matter at all? As none of the classes it is derived from have a __init__ method, I guess not. Or, does default__class_init__ do anything