In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Alex Martelli) wrote:
> Roy Smith <[EMAIL PROTECTED]> wrote: > ... > > Is there any easy way to find out how much memory a Python object takes? > > No, but there are a few early attempts out there at supplying SOME ways > (not necessarily "easy", but SOME). For example, PySizer, at > <http://pysizer.8325.org/>. > > > Alex > Looks interesting, thanks. I've already discovered one (very) surprising thing -- if I build a dict containing all my regexes (takes about 3 minutes on my PowerBook) and pickle them to a file, re-loading the pickle takes just about as long as compiling them did in the first place. -- http://mail.python.org/mailman/listinfo/python-list