[storm] why weakrefdict for cache?
Bernd Dorn
bernd.dorn at lovelysystems.com
Mon Sep 3 16:13:13 BST 2007
On 03.09.2007, at 16:54, Gustavo Niemeyer wrote:
>
>> what do you think about referenceset caching use-cases? not for the
>> first iteration, but i would keep it in mind
>
> I've just commented on that on the other thread. I'm copying it
> here again for the benefit of people following this thread.
>
> This will be tackled by another improvement, which actually won't
> require any changes in the ReferenceSet implementation nor in the
> caching mechanism. The Store will be improved to always select
> only primary keys, and then select data for missing objects which
> are not yet cached. Sum that and the caching implementation we're
> planning, we'll get a nice performance boost everywhere, and
> ReferenceSets will be happy for free.
yes, but this only caches the values retrieved, i thought about
caching the resultset somehow.
More information about the storm
mailing list