Closed MichaelKreil closed 1 year ago
When we want to recompress 360 mio. tiles we need to use all cores and an efficient worker pool. Compression is done here: https://github.com/versatiles-org/versatiles-rs/blob/main/src/shared/compress.rs
Worker and memory pools are not the right way to do it in Rust: https://kerkour.com/rust-worker-pool Instead: Use Iterators
When we want to recompress 360 mio. tiles we need to use all cores and an efficient worker pool. Compression is done here: https://github.com/versatiles-org/versatiles-rs/blob/main/src/shared/compress.rs