OC,

Why not using the displayedObjects ?

If you do not want batch, set the batch size to 0.

Samuel


> Le 22 mars 2016 à 15:21, OC <[email protected]> a écrit :
> 
> Hello there,
> 
> searching for a bottleneck in my code, I have just bumped into that 
> ERXDisplayGroup.filteredObjects filters again and again and again each time 
> it is called, even though nothing changed in the display group. Is that the 
> intended behaviour? I would rather suppose it would cache and re-filter only 
> when needed.
> 
> I happen to bind mygroup.filteredObjects to lots of components in my page, 
> which not surprisingly does not work really fast :)
> 
> Anyway, is there an existing solution for this (i.e., cached filtered objects 
> of an ERXDisplayGroup), or am I on my own to DImyself? Not that it would be 
> that much difficult; I just hate to implement in my own and clumsy way, with 
> a possibility to flush the cache too late etc., things which are already done 
> right somewhere :)
> 
> Thanks,
> OC
> 
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/samuel%40samkar.com
> 
> This email sent to [email protected]


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to