Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve memory efficiency for test data preparation
Data preparation for huge_patch test could be very slow because strings are immutable, each concatenation creates a new string and discards the old ones. New approach of data preparation is to concatenate large string from smaller parts with ''.join() method. This method reduces memory usage and enhances performance, because it minimizes the number of new string objects created.
- Loading branch information