##// END OF EJS Templates
store: optimize fncache._write by direncoding the contents in one go...
Adrian Buehlmann -
r17592:64c6a0d4 default
parent child Browse files
Show More
@@ -348,7 +348,7 b' class fncache(object):'
348 def _write(self, files, atomictemp):
348 def _write(self, files, atomictemp):
349 fp = self.opener('fncache', mode='wb', atomictemp=atomictemp)
349 fp = self.opener('fncache', mode='wb', atomictemp=atomictemp)
350 if files:
350 if files:
351 fp.write('\n'.join(map(encodedir, files)) + '\n')
351 fp.write(encodedir('\n'.join(files) + '\n'))
352 fp.close()
352 fp.close()
353 self._dirty = False
353 self._dirty = False
354
354
General Comments 0
You need to be logged in to leave comments. Login now