Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
No It's Not Always Quicker to Do Things in Memory (itworld.com)
3 points by radicalbyte on March 25, 2015 | hide | past | favorite | 2 comments


This article is an amazing example of poor journalism, snake-oil science and bad benchmarking.

Basically three Chemistry majors have "proven" that string concatenation in languages which have immutable strings is O(n^2) in the number of concatenations.


It looks like the authors have not heard about kernel-level page cache. No fsync was ever used in the benchmarks, therefore, it is never actually hitting the disk. The only good thing about this paper is that the Java and Python listings are available at the end, for everyone to identify the basic flaws in this research.

It's actually proving that it is faster to write directly to memory than to do a copy before writing to memory. Nothing really impressive there. :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: