##// END OF EJS Templates
store: optimize fncache._load a bit by dirdecoding the contents in one go...
Adrian Buehlmann -
r17604:bf989488 default
parent child Browse files
Show More
@@ -336,7 +336,7 b' class fncache(object):'
336 # skip nonexistent file
336 # skip nonexistent file
337 self.entries = set()
337 self.entries = set()
338 return
338 return
339 self.entries = set(map(decodedir, fp.read().splitlines()))
339 self.entries = set(decodedir(fp.read()).splitlines())
340 if '' in self.entries:
340 if '' in self.entries:
341 fp.seek(0)
341 fp.seek(0)
342 for n, line in enumerate(fp):
342 for n, line in enumerate(fp):
General Comments 0
You need to be logged in to leave comments. Login now