[Zope3-checkins] CVS: ZODB4/ZODB - FileStorage.py:1.110.6.7

Jeremy Hylton jeremy@zope.com
Wed, 11 Dec 2002 16:23:13 -0500


Update of /cvs-repository/ZODB4/ZODB
In directory cvs.zope.org:/tmp/cvs-serv30813

Modified Files:
      Tag: ZODB4-Q-branch
	FileStorage.py 
Log Message:
Remove unused caching of attrs in local variables.


=== ZODB4/ZODB/FileStorage.py 1.110.6.6 => 1.110.6.7 ===
--- ZODB4/ZODB/FileStorage.py:1.110.6.6	Wed Dec 11 15:28:53 2002
+++ ZODB4/ZODB/FileStorage.py	Wed Dec 11 16:23:13 2002
@@ -1457,15 +1457,7 @@
         # to reduce I/O during packing
         nvindex = fsIndex()
 
-        # Cache a bunch of methods # XXX remove caching...
         ofile = open(self._name + '.pack', 'w+b')
-        oseek=ofile.seek
-        write=ofile.write
-
-        index_get=index.get
-        vindex_get=vindex.get
-        pindex_get=pindex.get
-
         pv = z64
         offset = 0L  # the amount of space freed by packing
         pos = opos = 4L