Tuesday, September 7, 2021

Moved to MacOS (arm64). Egel interpreter now twice as fast

The microbenchmark 'million.eg' which computes the sum of the first million numbers ran in 16 seconds on my old intel laptop. It's just a fold: foldl (+) 0 (fromto 0 1000000)

Observe:

egel % time egel examples/million.eg 

 

500000500000

egel examples/million.eg  6.94s user 0.10s system 99% cpu 7.061 total



No comments:

Post a Comment