2 ms·
Many languages have a few programs for each benchmark. You can try looking at the shortest one. Most submitters try to optimize for speed, and to use smart tri
by gus_massa 11y ago
Many languages have a few programs for each benchmark. You can try looking at the shortest one.
Most submitters try to optimize for speed, and to use smart tricks you need more LOC, so usually the shortest program is the more straightforward.
Actually, in this site they don't measure the size of a program in LOC, they use the size of the compressed program that is a better metric.
(It may be different in other sites specialized in code golf, because in the those sites the submitters are specializing for size specifically.)
- Klasiaster 11y agoAs you can see here, code amount is also measured: http://benchmarksgame.alioth.debian.org/u64q/compare.php?lang=rust&lang2=gpp http://benchmarksgame.alioth.debian.org/u64q/compare.php?lan...