Skip to content

perf: Initialize and optimize Python module without requiring GIL#20

Merged
0x676e67 merged 1 commit intomainfrom
perf
Feb 14, 2025
Merged

perf: Initialize and optimize Python module without requiring GIL#20
0x676e67 merged 1 commit intomainfrom
perf

Conversation

@0x676e67
Copy link
Copy Markdown
Owner

This pull request includes a small change to the src/lib.rs file. The change modifies the #[pymodule] attribute to specify that the Global Interpreter Lock (GIL) is not used.

  • src/lib.rs: Modified the #[pymodule] attribute to #[pymodule(gil_used = false)] to indicate that the GIL is not used.

@0x676e67 0x676e67 merged commit f42f3f6 into main Feb 14, 2025
@0x676e67 0x676e67 deleted the perf branch February 14, 2025 13:51
kreedzZhao pushed a commit to kreedzZhao/rnet that referenced this pull request Dec 8, 2025
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