On 8/31/07, Igor Stasenko siguctua@gmail.com wrote:
use collection. a #size for MagmaCollectionReader is not something which can be fast, because collectionreader designed for reading/filtering collections with provided filter query. It's impossible to determine the number of items in filtered collection in other way than reading and testing full collection, thats why #size is bad practice for using with collectionreader. It designed for sequential reading, not for random access.
This is so wrong. Please read the section "Optimizing Performance" in the documentation about querying MagmaCollections.