Why TextConstants is not defined in a SharedPool classVar?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Why TextConstants is not defined in a SharedPool classVar?

Stéphane Ducasse
Hi

I should say that I liked the introduction of SharedPool made by andreas long time ago to replace
PoolDictionaries. Now I was wondering why TextContants is not defined as a classVariable of a subclass
of SharedPool like all the other PoolDictionaries?

Stef
Reply | Threaded
Open this post in threaded view
|

Re: Why TextConstants is not defined in a SharedPool classVar?

Nicolas Cellier
2010/8/26 Stéphane Ducasse <[hidden email]>:
> Hi
>
> I should say that I liked the introduction of SharedPool made by andreas long time ago to replace
> PoolDictionaries. Now I was wondering why TextContants is not defined as a classVariable of a subclass
> of SharedPool like all the other PoolDictionaries?
>
> Stef
>

I'd say just try it. It might work or fail (TextConstants may be vital
to lot of text processing and may make refactoring an involved task
without a true atomic load).

Nicolas