Skip to content

SCrocky/python_multiprocessing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

python_multiprocessing

Uses the multiprocessing package to run many processes in parallel.

Check the example.py code to get started.

To run the example simply use python interactive mode: python -i example.py

And run both the linear and the parallelized function:

>>> a = check_collatz_linear(10**6)
Execution of check_collatz_linear took: 0:00:09.387807

>>> b = check_collatz_until(10**6)
Execution of check_collatz_until took: 0:00:01.196699

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages