News for hackers. Stuff that matters.
Re:Beautiful branchless binary search by dist1ll on Friday April 28, 2023 @03:21AM (#35738478)
Re:Beautiful branchless binary search by berkut on Friday April 28, 2023 @03:22AM (#35738484)
Oooooh :)

Thanks!

Re:Beautiful branchless binary search by usefulcat on Friday April 28, 2023 @04:57PM (#35747016)
It does, but unfortunately it doesn't always work. For example (note the -march=broadwell option):

https://godbolt.org/z/n1Kz4G7GE