flutter_map_tile_caching icon indicating copy to clipboard operation
flutter_map_tile_caching copied to clipboard

Performance Improvements

Open JaffaKetchup opened this issue 1 year ago • 0 comments

This is designed to reduce the time it takes to generate the list of tiles within a region, as well as any other improvements I can make.

For example, using:

final tiles = List.generate(n, (i) => i, growable: false);

...is considerably faster than using:

final tiles = [];
for (int i = 0; i <= n; i++) tiles.add();

JaffaKetchup avatar Oct 19 '22 10:10 JaffaKetchup