TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Easy parallel loops in Python, R, Matlab and Octave

6 pointsby earinoover 10 years ago

2 comments

earinoover 10 years ago
Includes sample code for Python using joblib, in R using the Parallel language, and in Matlab/Octave using the parfor construct!
techdragonover 10 years ago
Parallel looping is one of those things I wish was easier to use. Countless times I&#x27;ve stared at my python code weighing the cost of using the available primitives to optimise the loop. I just wish it was as simple as<p><pre><code> parallel_for x in range(10): myFunc(x) </code></pre> But we can&#x27;t have everything.
评论 #8288769 未加载