tokee / nrtmosaic

Fast mosaic creation from pre-processed source images
Apache License 2.0
3 stars 0 forks source link

Cache core Pyramid data in memory #15

Closed tokee closed 8 years ago

tokee commented 8 years ago

The UUID, primary greys, width, height and tile-data for level 1 (and maybe also level 2?) for a Pyramid needs fast access in many Pyramids when mapping Tiles at some levels. With the MappedByteBuffer this introduces disk cache invalidation and potentially thrashing on HDD-systems.

Caching the primary data on-heap would take up about 100 bytes per Pyramid: 50 bytes for the data, 50 more for OO-overhead.

tokee commented 8 years ago

Closed by last commit