The R package multicore has a function mclapply() which applies a specified function over a list of things and takes advantage of multiple cores. It's easy to use and results in big speed boosts.
Is there a Python equivalent? Thanks
This functionality is available from the map method in multiprocessing.Pool()
See this answer for more details: Is there a simple process-based parallel map for python?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With