Re: [gdal-dev] Call for review on RFC 101: Raster dataset read-only thread-safety

2024-09-07 Thread Even Rouault via gdal-dev
For read-only purposes I would have thought we only had to briefly seize a mutex when introducing new blocks into the cache, and I thought there was already some sort of lock around that. When talking about the block cache, one needs to distinguish: - the global least-recently-used (LRU) l

[gdal-dev] WMTS improve performance

2024-09-07 Thread Michał Kowalczuk via gdal-dev
Dear GDAL friends, I'm looking for tips & tricks for improving performance when working with WMTS services. As I mentioned in previous mails, I work with GDAL C API. My main task is to generate image for a given extent and defined output image size (WxH). I convert this extent to appropriate offset

Re: [gdal-dev] Call for review on RFC 101: Raster dataset read-only thread-safety

2024-09-07 Thread Laurențiu Nicola via gdal-dev
On Sat, Sep 7, 2024, at 17:49, Even Rouault via gdal-dev wrote: > It could be argued that coding it in C wouldn't be the best idea. I've > spotted a TIFF Rust library (https://github.com/image-rs/image-tiff) but it > is functionally limited (at least in terms of supported codecs. didn't check >