Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The compiler needs to be extremely clever on @tailrec for not blowing up the L1 cache on this code.

To me, this looks like a perfect example of a developer thinking they're very smart while they're actually writing code that's worse that its naive counterpart version (a good summary of Scala in my experience).



Can you please explain why it would blow up the L1 cache?




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

Search: