Skip to content

Release GIL during expensive operations#48

Open
LDiazN wants to merge 2 commits into
mainfrom
release-gil
Open

Release GIL during expensive operations#48
LDiazN wants to merge 2 commits into
mainfrom
release-gil

Conversation

@LDiazN

@LDiazN LDiazN commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator

With #47 we noticed that some cryptographic operations are expensive, specially the measurement submission.

This PR will release the GIL in the Python library during expensive operations. It won't make the library faster, but it allows true parallelism, see examples in: https://pyo3.rs/v0.29.0/parallelism

The library version is also bumped, this change should be invisible to clients

@LDiazN LDiazN self-assigned this Jul 23, 2026
@LDiazN LDiazN changed the title Release gil during expensive operations Release GIL during expensive operations Jul 23, 2026
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