Parallelization
dev.to·3h·
Discuss: DEV
Flag this post

If you’ve ever checked your computer’s resource usage while waiting for a script that just wouldn’t finish, you may have been dismayed to find that while one CPU core was chugging along at top speed, the others were sitting idle. If they just worked together, you may have thought, I’d be done by now.

Enter parallelization!

Parallelization is a programming paradigm in which a problem is split into small parts to be executed simultaneously – i.e., in parallel. This allows multiple processors, or even multiple computers, to contribute to solving the problem, cutting execution time dramatically (Adefemi). You’ve probably benefited from your browser performing [tasks in the background](https://developer.mozilla.org/en-US/docs/Web/API/Web…

Similar Posts

Loading similar posts...