[Zope-Coders] Re: Catalog optimization?

Arnar Lundesgaard arnar.lundesgaard@creuna.no
Fri, 11 Oct 2002 15:45:10 +0200


"Florent Guillaume" <fg@nuxeo.com> wrote in message
news:anq87a$tgo$1@dev.in.nuxeo.com...
> Today when you catalog an object by passing it idxs=['foo'], the
intent
> is to improve speed by only recataloging the foo index.
Unfortunately
> the catalog always recordifies the full object and updates all the
> metadata, which loses most of the speed benefits this could have.
>
> I propose that if a non-empty idxs is passed, then only the metadata
> corresponding to the index be updated.
>
> What do you think?

Would it require big changes or a "simply" a few strategicly placed
'if' tests?

Something like this would definately be useful in our applications,
not only
for speed but perhaps also for FileStorage growth.

  Arnar Lundesgaard

---------------------------------
phone: (+47) 982 38 036
mailto:arnar.lundesgaard@creuna.no
Creuna as
Bryggegata 3
NO-0250 Oslo
phone office: (+47) 23 23 88 00
fax: (+47) 23 23 88 50
http://www.creuna.no/