[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/fssync/fspickle.txt
Remove concrete value for future changes.
Yusei Tahara
yusei at domen.cx
Wed Mar 14 02:04:06 EDT 2007
Log message for revision 73162:
Remove concrete value for future changes.
Changed:
U Zope3/trunk/src/zope/app/fssync/fspickle.txt
-=-
Modified: Zope3/trunk/src/zope/app/fssync/fspickle.txt
===================================================================
--- Zope3/trunk/src/zope/app/fssync/fspickle.txt 2007-03-14 04:48:47 UTC (rev 73161)
+++ Zope3/trunk/src/zope/app/fssync/fspickle.txt 2007-03-14 06:04:06 UTC (rev 73162)
@@ -16,8 +16,6 @@
>>> from zope.xmlpickle import dumps
>>> before = len(dumps(folder1))
->>> before
-81551
Now we add a second folder:
@@ -28,9 +26,12 @@
Let's look at the pickle of our first folder again:
>>> after = len(dumps(folder1))
->>> after
-114880
+Then Let's compare.
+
+>>> before < after
+True
+
Bang! The pickle size increased. That means that the pickle of folder1 contains
additional data probably from folder2 or at least it's parent. How complex and unpredictable
the situation is shows the following relation:
More information about the Zope3-Checkins
mailing list