[Python-Dev] Proposed PEP: Optimizing Global Variable and Attribute Access

Roman Suzi rnd at onego.ru
Tue Aug 14 02:35:55 EDT 2001


On Tue, 14 Aug 2001, Skip Montanaro wrote:

>         TRACK_OBJECT       math.sin
>         ...
>         LOAD_FAST          math.sin
>         ...
>         UNTRACK_OBJECT     math.sin

What about threads? What if math.sin changes while in cache?

Sincerely yours, Roman A.Suzi
-- 
 - Petrozavodsk - Karelia - Russia - mailto:rnd at onego.ru -
 





More information about the Python-list mailing list