Skip to content

refactor(embeddings): cache rayon thread pools by worker count - #200

Open
donhardman wants to merge 1 commit into
masterfrom
fix/memleak
Open

refactor(embeddings): cache rayon thread pools by worker count#200
donhardman wants to merge 1 commit into
masterfrom
fix/memleak

Conversation

@donhardman

Copy link
Copy Markdown
Member
  • Implement thread_pool_for to reuse pools and reduce memory fragmentation
  • Update scoped pool logic to use cached pools instead of creating new ones
  • Add test to verify pool reuse based on worker count

- Implement thread_pool_for to reuse pools and reduce memory fragmentation
- Update scoped pool logic to use cached pools instead of creating new ones
- Add test to verify pool reuse based on worker count
@donhardman
donhardman requested a review from sanikolaev August 25, 2026 12:16
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.

2 participants