chunkSize property

int chunkSize
final

Approximate number of bytes to use as chunk size when reading/writing. After some basic testing settled on about 4 MB chunks, since some performance checks with 1M GpsPoint in a GpcCompactGpsPoint showed less than 15% performance improvements if huge chunk sizes are allowed that fit the whole list in one go.

Implementation

final chunkSize = 1 << 22;