News for hackers. Stuff that matters.
Re:Random Acts of Optimization by lunchTime42 on Thursday October 29, 2015 @06:56PM (#10475002)
Could the order of condition-statements-machine-code (as in the case handling code)e.g. in the particle code be made rearranging according to in-game-heat-counting?
Re:Random Acts of Optimization by RiotTony on Thursday October 29, 2015 @07:24PM (#10475180)
You could, but I doubt it would have much of an effect on performance. Modern CPUs are ridiculously good at looking ahead and executing paths pre-emptively, meaning that branching is far less of an issue. On the older consoles, branching was a big issue, so that would have helped there.