-exporter tweaks, trying to optimize. after all the changes, I estimate cca 25% speedup in export

pull/4/head
vilda.novak@gmail.com 2014-04-24 09:28:11 +00:00
rodzic fd438d2358
commit b21b7e34da
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -40,7 +40,7 @@ class Creator:
def write(self, s):
self.buffer.append(s)
if len(self.buffer)>5000:
if len(self.buffer)>100000:
self.file.write(''.join(self.buffer))
self.buffer=[]