Message280484
>> But why is this so different from the C implementation of lru_cache?
> I don't know. Maybe C version of lru cache creates a bit less pressure on GC.
Actually test/refleak.py now cleans up typing's lru cache & calls "gc.collect()". It seems that the typing cycles aren't collectable by the GC when Python lru cache is used. |
|
Date |
User |
Action |
Args |
2016-11-10 01:35:58 | yselivanov | set | recipients:
+ yselivanov, gvanrossum, ned.deily, python-dev, serhiy.storchaka, josh.r, levkivskyi |
2016-11-10 01:35:58 | yselivanov | set | messageid: <1478741758.15.0.607076267395.issue28649@psf.upfronthosting.co.za> |
2016-11-10 01:35:58 | yselivanov | link | issue28649 messages |
2016-11-10 01:35:57 | yselivanov | create | |
|