You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CFFI implicitly released the GIL by default when calling into libsamplerate, whereas pybind11 keeps the GIL by default. This change in 0.2.0+ leads to major GIL contention in a application where I was successfully getting thread-based parallelism before.
Activity
Release GIL while resampling
tuxu commentedon Jan 25, 2024
Very good point and definitely an oversight. Would you mind giving PR #14 a try?
Bentroen commentedon Dec 5, 2024
Was looking exactly for this – I'll be giving it a shot and report back on the results :)
chore: replace `samplerate` with no-GIL pull request