##// END OF EJS Templates
obsstore: disable garbage collection during initialization (issue4456)...
Pierre-Yves David -
r23497:5817f71c default
parent child Browse files
Show More
@@ -377,6 +377,7 b' def _fm1encodeonemarker(marker):'
377 formats = {_fm0version: (_fm0readmarkers, _fm0encodeonemarker),
377 formats = {_fm0version: (_fm0readmarkers, _fm0encodeonemarker),
378 _fm1version: (_fm1readmarkers, _fm1encodeonemarker)}
378 _fm1version: (_fm1readmarkers, _fm1encodeonemarker)}
379
379
380 @util.nogc
380 def _readmarkers(data):
381 def _readmarkers(data):
381 """Read and enumerate markers from raw data"""
382 """Read and enumerate markers from raw data"""
382 off = 0
383 off = 0
@@ -562,6 +563,7 b' class obsstore(object):'
562 version, markers = _readmarkers(data)
563 version, markers = _readmarkers(data)
563 return self.add(transaction, markers)
564 return self.add(transaction, markers)
564
565
566 @util.nogc
565 def _load(self, markers):
567 def _load(self, markers):
566 for mark in markers:
568 for mark in markers:
567 self._all.append(mark)
569 self._all.append(mark)
General Comments 0
You need to be logged in to leave comments. Login now