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

> aren't there also going to be many situations when the right thing to do is use an array?

Sure, with a language that has super slow boxing semantics....

Just look at BinaryTree. The benchmark would show a very different picture if it would compare Tree<Integer> implementations instead of allowing a primitive int.



Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: