Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

More evidence against Sepples

Name: Anonymous 2011-02-06 10:51

Fuck Alioth's shootout. Check it:
http://www.cs.bell-labs.com/cm/cs/pearls/sec151.html
This C program takes about 2.4 seconds to read its input (the same as the C++ version), but only 0.5 seconds for the insertions (down from 4.9) and only 0.06 seconds to write the output (down from 0.3). The complete run time is 3.0 seconds (down from 7.6), and the processing time is 0.55 seconds (down from 5.2). Our custom-made hash table (in 30 lines of C) is an order of magnitude faster than the maps from the C++ Standard Template Library.

Name: Anonymous 2011-02-06 11:58

Comparisons like these always piss me off. The author is missing using the library components, and he is not using the correct ones for the task at hand.

Furthermore, no one uses the standard iostreams for anything serious. In fact, no one uses scanf for anything serious either.

We use POSIX file functions (open, close, read, write, etc.) or Windows File API calls and do everything at the lowest level using asynchronous I/O.

The comparison is not comparing the languages. It is comparing the libraries.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List