mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-20 15:23:56 -07:00
On MSVC, casting i32 to i64 then multiplying gets compiled into a call to __allmul, which is slow. Use the __emul intrinsic instead. GCC 4.6+ appears optimise this case automatically and doesn't need any special handling. This reduces the cost of ComputeShortPath by about 50% (testing AI vs AI on Oasis 01). This was SVN commit r13873. |
||
|---|---|---|
| .. | ||
| components | ||
| docs | ||
| helpers | ||
| scripting | ||
| serialization | ||
| system | ||
| tests | ||
| MessageTypes.h | ||
| Simulation2.cpp | ||
| Simulation2.h | ||
| TypeList.h | ||