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

Bounds checking slices makes code around 1% slower. It's worth it, but not free.


I mean, that was the fix in this situation too, anyway. "free" depends on what you're comparing it to.




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

Search: