As you said, it probably depends. So what is the best condition to get a good look at data.fs? And do I have to stop Zope to have everything flushed. Nevertheless a brilliant idea. By the way, the reason I asked was what code is better: for prop in obj: change property or for prop in obj: collect property in dic ibj.changeproperties(dic) Robert :-) ----- Original Message ----- From: "Chris McDonough" <chrism@zope.com> To: "Robert Rottermann" <robert@redcor.ch>; <zope@zope.org> Sent: Friday, November 09, 2001 8:06 AM Subject: Re: [Zope] how much does changing a property add to data.fs??
It depends on the property size and the type of object.
This is easy to test. Look at the size of your Data.fs, add a property, look at it again. ;-)
- C
----- Original Message ----- From: "Robert Rottermann" <robert@redcor.ch> To: <zope@zope.org> Sent: Friday, November 09, 2001 1:31 AM Subject: [Zope] how much does changing a property add to data.fs??
Good morning friends,
I was just wondering how changing attributes of an object does change the data.fs size. Is it only the changed attribute that is added to the end of data.fs or is the whole object copied???
I would assume the first. Is that so? Robert
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )