by s_ngularity · 8y ago · 0 comments
Though I would certainly agree that paying for more vm cores just so you can do a linear search on each of them is a bit silly
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?
I strongly suspect dragging in memmem() would be the most cost effective way of doing this and run in the most places, even if it's a non-standard GNU libc extension.