News for hackers. Stuff that matters.
Re:Optimizations on Linear Search (2016) by secondcoming on Saturday October 03, 2020 @02:06PM (#24673659)
Someone has to write the algorithm beneath those abstractions. It's not magic. There's a point in the abstraction call stack where the programmer needed to understand how a CPU actually works.
Re:Optimizations on Linear Search (2016) by higerordermap on Saturday October 03, 2020 @10:35PM (#24676163)
Same applies for his sort example. Someone has to write sort. Except that now also includes sorting.

In a language with lazy stream abstraction, the max() function can be pretty efficient.