JuliaLang / Microbenchmarks

Microbenchmarks comparing the Julia Programming language with other languages
https://julialang.org/benchmarks/
Other
88 stars 48 forks source link

read inputs from file to avoid compilers removing computations? #64

Open StefanKarpinski opened 2 years ago

StefanKarpinski commented 2 years ago

We've been hacking around compilers eliminating computations entirely because we're generally applying pure functions to constant values. We could refactor the benchmarks to read input values from a file which would prevent the constant folding problem more robustly and otherwise allow the compilers to do their thing.