News for hackers. Stuff that matters.
Re:In what cases is Java faster than C++? by npalli on Wednesday February 16, 2011 @10:35AM (#2226726)
50-100ms is just horrible. In fact, the best malloc's show operations in 50-100 nanoseconds.

http://goog-perftools.sourceforge.net/doc/tcmalloc.html

Re:In what cases is Java faster than C++? by jedbrown on Wednesday February 16, 2011 @10:44AM (#2226784)
Yes, even glibc malloc is usually around 400 cycles (about 150 nanoseconds) in my tests.