google / google/Xee

Could we increase CPU-bound performance by manually managing the GIL?

Open
#169 2 comments 0 reactions 0 assignees View on GitHub
enhancement P3
Dominant language
Python
Stars
371
Forks
48
PR merge metrics
No merged PRs in 30d

Description

I’ve done some research on this for Cubed: https://github.com/cubed-dev/cubed/issues/497

I’m curious that if it would be worth it to add a Cython build step to Xee. From SO and docs that I’ve read, there may be more CPU performance we can squeeze out if we manually manage the GIL when interacting with concurrent ThreadPools.

I suspect @shoyer may know if this is an issue, but measuring is always better than guessing.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.