RE: [Python-Dev] Caching objects in memory

2005-04-23 Thread Raymond Hettinger
[Facundo Batista] > Is there a document that details which objects are cached in memory > (to not create the same object multiple times, for performance)? The caches get cleaned-up before Python exit's, so you can find them all listed together in the code in Python/pythonrun.c: /* Sundry

Re: [Python-Dev] Caching objects in memory

2005-04-22 Thread Michael Hudson
Facundo Batista <[EMAIL PROTECTED]> writes: > Is there a document that details which objects are cached in memory > (to not create the same object multiple times, for performance)? No. > If not, could please somebody point me out where this is implemented > for strings? In PyString_FromStringAn