Closed abgoyal closed 12 years ago
very slow string concatenation (self.outtest +=s ) replaced with list append and a final "".join()
Processing a 5MB html file with this was taking ~2500 sconds before this patch. With this patch it only takes ~20 seconds.
Got it. Merged.
very slow string concatenation (self.outtest +=s ) replaced with list append and a final "".join()
Processing a 5MB html file with this was taking ~2500 sconds before this patch. With this patch it only takes ~20 seconds.