Pipe _much_ slower than @par (and even regular Python!) when calculating Pi with Monte Carlo
Open
- Dominant language
- Python
- Stars
- 16.8k
- Forks
- 603
- Avg merge
- 4d 23h
- Merged PRs (30d)
- 6
Description
First script is massively faster than second, what am I doing wrong?
1. [MC Pi with @par](https://gist.github.com/ianxek/2df6a4356ec7bf2b26a1dc69c72ed3ce)
2. [MC Pi with pipe](https://gist.github.com/ianxek/5b436d00178e8f5c8eee00e0a072feaa)
Contributor guide
Assessment
This issue has not been assessed yet.