widelands-dev team mailing list archive
Mailing list archive
Re: [Merge] lp:~widelands-dev/widelands/bug-1818073-worker into lp:widelands
Arithmetic comparisons are very fast - I don't know if we would gain any performance here really. We also get an additional comparison if amount <= 2, so theoretically we only gain 1 comparison on average here while making the code harder to read.
Your team Widelands Developers is subscribed to branch lp:~widelands-dev/widelands/bug-1818073-worker.