cleanup: back out performance hacks amended into previous commit
authorMatt Mackall <mpm@selenic.com>
Mon, 21 Dec 2015 14:52:18 -0600
changeset 27472 3dea4eae4eeb
parent 27471 fe79f86099ae
child 27473 34a37a2e03e6
cleanup: back out performance hacks amended into previous commit
contrib/perf.py
mercurial/revlog.py
--- a/contrib/perf.py	Fri Dec 18 06:33:48 2015 +0000
+++ b/contrib/perf.py	Mon Dec 21 14:52:18 2015 -0600
@@ -525,7 +525,6 @@
             r.clearcaches()
         r._chunkraw(chain[0], chain[-1])
 
-    @util.nogc
     def dodecompress(data, chain):
         if not cache:
             r.clearcaches()
--- a/mercurial/revlog.py	Fri Dec 18 06:33:48 2015 +0000
+++ b/mercurial/revlog.py	Mon Dec 21 14:52:18 2015 -0600
@@ -1163,7 +1163,6 @@
         return mdiff.textdiff(self.revision(rev1),
                               self.revision(rev2))
 
-    @util.nogc
     def revision(self, nodeorrev, _df=None):
         """return an uncompressed revision of a given node or revision
         number.