Skip to content

Instantly share code, notes, and snippets.

@georgepsarakis
georgepsarakis / parallel-merge-sort.py
Last active November 6, 2020 12:56
Parallel Merge Sort - Example Code & Benchmark
from __future__ import print_function
import random
import sys
import time
from contextlib import contextmanager
from multiprocessing import Manager, Pool
class Timer(object):
"""