string issue or questions about intern

Peter Schneider-Kamp peter at schneider-kamp.de
Fri Jul 14 17:36:04 EDT 2000


Brian Kelley wrote:
> 
> So, does eval('"AAAAA"') intern "AAAAA" or simply not clean up the
> memory since it is not assigned to a variable?

Mhh. I compiled the current CVS (==soon to be 2.0) version without
cyclic garbage collection.

while 1:
  eval('"AAAAA"')

I monitored with top for quite a while, but there was no increase
in memory consumption. *Maybe* this got fixed?!

Peter
--
Peter Schneider-Kamp          ++47-7388-7331
Herman Krags veg 51-11        mailto:peter at schneider-kamp.de
N-7050 Trondheim              http://schneider-kamp.de




More information about the Python-list mailing list