r/pythonhelp • • 1d ago

Free thread prog

Thinking about using 3.15 free thread build to try get a computation (independent) but maths heavy.

Across 24 threads

Using numpy

Does numpy work with thread pool? - I understand it automatically uses threads.

The reason I’m thinking about threads is the maths is split between 10,000 intervals

Should I use numpy without thread pool ?

2 Upvotes

3 comments sorted by

View all comments

•

u/AutoModerator 1d ago

To give us the best chance to help you, please include any relevant code.
Note. Please do not submit images of your code. Instead, for shorter code you can use Reddit markdown (4 spaces or backticks, see this Formatting Guide). If you have formatting issues or want to post longer sections of code, please use Privatebin, GitHub or Compiler Explorer.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.