4 ms·
Don't know whether list comprehensions were tried. Refactoring suggestions could be considered, if they still capture the main point of the benchmark. Most of
by tavert 11y ago
Don't know whether list comprehensions were tried. Refactoring suggestions could be considered, if they still capture the main point of the benchmark.
Most of the Julia standard library is implemented in Julia.
- JupiterMoon 11y agoThere is no point benchmarking badly written language A vs well written language B. I actually find the Julia benchmarks misleading and that kind of thing leaves a bad taste. Arguments about liking to loop over arrays to operate on them are a matter of taste. I like whole array operations, it's just what I learned first and best (Fortran 9x+ and numpy). Someone else may prefer to write loops (maybe they started doing numerical work with F77 or C). There is no universal correct way to express things -- but there is sometimes a language specific best way and to benchmark ignoring this is not good.