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

To clarify, I’m not saying that binary search is a bad way to search a sorted array. I’m saying that, if you have a bunch of data, you intend to preprocess that data and then search it repeatedly, that sorting it and binary searching is not a great solution.


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

Search: