exaloop / exaloop/codon

Pipe _much_ slower than @par (and even regular Python!) when calculating Pi with Monte Carlo

Open
#305 3 comments 0 reactions 1 assignee Claimed by @arshajii View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.