[Cubicweb] lgc.cache in cubicweb

Aurélien Campéas aurelien.campeas at logilab.fr
Fri Sep 9 14:37:46 CEST 2011

Le 08/09/2011 12:34, Sylvain Thénault a écrit :
> On 08 September 10:49, Aurélien Campéas wrote:
>> Also in lgc.cache all operations are protected by a lock (to mimick
>> the atomicity of a plain python dict I guess), which _maybe_ also
>> hurts a bit concurrent access performance.
> not only, that was mainly to avoid nasty cache bug on concurrent access.

Does it still apply ? I'm a bit surprised a lock would be needed there 
but not in the surrounding code.

Anyway I've just submitted a patch for your consideration.


More information about the Cubicweb mailing list