|
|
|
|
|
by userbinator
3674 days ago
|
|
It's interesting that the "gz" column, which reflects the amount of source code required, shows a very slight trend towards C being smaller, although there are big exceptions like regex-dna and reverse-complement. I'm not seeing the 400x more memory - there is a 40x though. But if you add up the columns for the programs that have both C and Java versions, you get this rough summary... secs KB gz
Java 76.33 2004048 12775
C gcc 37.32 793652 11651
...that Java is on average half as fast as C and uses 2.5x more memory, while requiring slightly more source code. |
|
http://programmers.stackexchange.com/a/189552/4334