Skip to content

Release the GIL in the compute entry points - #29

Merged
jonwright merged 1 commit into
mainfrom
cleanup-licence-api
Oct 6, 2026
Merged

jonwright merged 1 commit into
mainfrom
cleanup-licence-api

Conversation

@jonwright

Copy link
Copy Markdown
Owner

gil_release: true on sparsify, sparsify_and_dot, sparsify_and_dot_padded and sparsify_and_dot_bsbcsr; wrapper regenerated with c2py23 ee81c97. One processor object per thread, no locks, do not share objects. Scaling (pinned cores 1/2/4/8): 894/1799/3559/6274 frames/s. Tests: concurrent processors match serial; a Python thread runs during decode.

gil_release: true on sparsify, sparsify_and_dot, sparsify_and_dot_padded
and sparsify_and_dot_bsbcsr; wrapper regenerated with c2py23 ee81c97.
One processor object per thread, no locks, do not share objects.
Scaling (pinned cores 1/2/4/8): 894/1799/3559/6274 frames/s.
Tests: concurrent processors match serial; a Python thread runs during decode.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@jonwright
jonwright merged commit 31d0a95 into main Oct 6, 2026
23 checks passed
@jonwright
jonwright deleted the cleanup-licence-api branch October 6, 2026 20:41
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.

1 participant