Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
use FPC algorithm for UTF8List capacity grow #187
My application widely use TRawUTF8List to store name-value pairs and minimum capacity of 256 is seams to be too large.
Both C++ vector and FPC TFPList use more flexible algorithms. I'm copy-paste FPC algorithm and test it with my real use-case (
Memory allocation is better with FPC algorithm.