Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Java Streams API is not panacea (twitter.com/mariofusco)
3 points by kouzant on Aug 24, 2022 | hide | past | favorite | 1 comment


> Controversial opinion (?): on your code hot paths and bottlenecks (and only there), where performance really matters (don't guess where they are, but measure with proper benchmarks) strive to avoid using Java Stream API, even at cost of more verbosity and/or less readability.

An example would be useful.




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

Search: