20 May
2002
20 May
'02
12:05 p.m.
On Mon, 2002-05-20 at 12:53, David Burton wrote:
If you make the objects catalog themselves either automatically or manually, then you can retrieve their ID and/or Title - you just need to make sure that the
ZCatalog is configured to store that as metadata. The way ZCatalog works is to actually store a copy of the metadata itself, so when you loop through the ZCatalog you're not actually accessing the objects themselves, but ZCatalog entries that store various bits of information about the objects they represent.
But this does not explain the 10 to 1 speedup when using for item in subfolder.objectValues(): vs. <dtml-in "subfolder.objectValues()"> as they _both_ use subfolder.objectValues() -------------- Hannu