Skip to content

Release GIL during check_bytes_arrays_within_dist loop - #39

Merged
mrecachinas merged 4 commits into
masterfrom
feat/disable-gil
Feb 12, 2026
Merged

Release GIL during check_bytes_arrays_within_dist loop#39
mrecachinas merged 4 commits into
masterfrom
feat/disable-gil

Conversation

@mrecachinas

Copy link
Copy Markdown
Owner

Fixes #23

Add Py_BEGIN_ALLOW_THREADS/Py_END_ALLOW_THREADS around the search loop in check_bytes_arrays_within_dist to allow other Python threads to run during potentially long-running searches in large arrays.

mrecachinas and others added 2 commits February 1, 2026 19:02
Fixes #23

Add Py_BEGIN_ALLOW_THREADS/Py_END_ALLOW_THREADS around the search loop
in check_bytes_arrays_within_dist to allow other Python threads to run
during potentially long-running searches in large arrays.
@github-actions

github-actions Bot commented Feb 2, 2026

Copy link
Copy Markdown

📊 Benchmark Comparison Results

✅ All benchmarks within noise

24 benchmarks compared, no significant changes detected.

Legend: ✅ Faster (>5%) · ⚠️ Slower (5-30%) · ❌ Regression (>30%) · 🆕 New · 🗑️ Removed

- ubuntu-20.04 → ubuntu-22.04
- macos-11 → macos-13
- windows-2019 → windows-2022
@mrecachinas
mrecachinas merged commit 4c72d30 into master Feb 12, 2026
7 checks passed
@mrecachinas
mrecachinas deleted the feat/disable-gil branch February 12, 2026 03:09
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.

Free GIL when running check_bytes_arrays_within_dist

1 participant