News for hackers. Stuff that matters.
Re:Do Not Taunt Happy Fun Branch Predictor by fluoridation on Wednesday January 25, 2023 @01:52PM (#34522518)
Not true by a long shot, unfortunately. Getting even a 100% performance gain out of manual optimization is unusual. Usually the only way to get significant gains is by either switching algorithms or by relaxing problem requirements.
Re:Do Not Taunt Happy Fun Branch Predictor by cozzyd on Wednesday January 25, 2023 @06:19PM (#34525578)
It... depends. Often things like changing memory layout, intelligent prefetching, etc. can make a pretty big difference.