[Zope-dev] ZCatalog Indexes tab crawl reason confirmed

Andreas Jung Andreas Jung <andreas@andreas-jung.com>
Thu, 17 Jul 2003 12:48:40 +0200


--On Donnerstag, 17. Juli 2003 12:26 Uhr +0200 Jean Jordaan 
<jean@upfrontsystems.co.za> wrote:

>> so... would anyone mind?
>
> Well, I've often been interested to note the numbers. It gave me
> a feeling for which indexes are heavily used. Sure, I could figure
> this out without looking at this page, but the (lack of) speed hasn't
> bugged me .

The problem is caused by calling len() on the indexes btrees. Instead
a counter implemented btree.Length should be used in the future.

-aj