Re: Why custom objects take so much memory?

2007-12-19 Thread jsanshef
Thank you all for your useful comments and suggestions!! They're a great starting point to redesign my script completely ;) Cheers! -- http://mail.python.org/mailman/listinfo/python-list

Why custom objects take so much memory?

2007-12-18 Thread jsanshef
Hi, after a couple of days of script debugging, I kind of found that some assumptions I was doing about the memory complexity of my classes are not true. I decided to do a simple script to isolate the problem: class MyClass: def __init__(self,s): self.mystring = s mylist