When working with converging algorithms, sometimes floating code can become very slow. That is: orders of magnitude slower than you would expect. A very interesting answer to [Wayback] c++ – Why does changing 0.1f to 0 slow down performance by 10x? – Stack Overflow. I’ve only quoted a few bits, read the full question and […]
Weiterlesen...