|
|
|
|
|
by glangdale
2972 days ago
|
|
The linear search code should probably be in a library, and in fact often is, if you have the GNU extension memmem(). I'm also not convinced that it's that hard. This seems to be the new cult; just because someone buggered up binary search with an integer overflow once, we're not going to write non-pathological algorithms anymore? |
|