Skip to content

Conversation

kylebarron
Copy link
Member

@kylebarron kylebarron commented Feb 28, 2025

Closes #31

Change list

  • Add ThreadPool Python class that wraps a rayon threadpool.
  • Add Tile Python class that wraps an underlying tiff tile
  • Add rayon and tokio_rayon as dependencies to help manage cpu-bound tasks and the interface to the async executor.

This ensures that the executor isn't blocked during decompression.

We haven't piped through the interface to actually fetch tiles yet, but this is mergeable in isolation.

@kylebarron kylebarron enabled auto-merge (squash) February 28, 2025 21:46
@kylebarron kylebarron merged commit ed67b77 into main Feb 28, 2025
6 checks passed
@kylebarron kylebarron deleted the kyle/decode-tile-off-main-thread branch February 28, 2025 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move tile decompression off the main thread
1 participant