spock
6/11/2017 - 10:49 AM

Multiprocessing via decorator.

Multiprocessing via decorator.

multiprocessing decorator
from deco import concurrent

@concurrent   # as many processes as there are cpu cores
def really_slow_and_intensive_thing():
    ...