brilee / go_implementation

Various implementations of Go (the game) in Python
12 stars 8 forks source link

This is a series of implementations of Go, using progressively more advanced techniques. Big thanks to Leah Hanson for help in writing go_sets.py.

To run: python3 go_benchmark.py

To profile:

python3 -m flamegraph -o benchmark.prof go_benchmark.py
flamegraph.pl benchmark.prof > benchmark.svg

Flamegraph can be obtained by cloning Brendan Gregg's repo