|
|
Paper: |
Compilers, Languages, Options, and Astronomical Images. |
Volume: |
527, Astronomical Data Analysis Software and Systems XXIX |
Page: |
493 |
Authors: |
Shortridge, K. |
Abstract: |
Twelve different languages have been tested on one simple problem to see how efficiently they handle a common operation in astronomical data processing — accessing individual elements in a 2D array. In some languages the best way to code the required program was obvious; in others, various approaches were tried. Where possible, a range of optimisations were tested. The most striking result is the sheer range of speeds measured; the fastest code ran over a million times faster than the slowest. That slowest result was an outlier, but even without it, the range of speeds covered many orders of magnitudes, and in some cases just enabling compiler optimisation could improve speeds by over two orders of magnitude. |
|
|
|
|