Files
@ r13299:70ff2a09b940
Branch filter:
Location: cpp/openttd-patchpack/source/src/lang/arabic_egypt.txt - annotation
r13299:70ff2a09b940
353.9 KiB
text/plain
(svn r17818) -Codechange: iterate the cargo list from the back when trying to merge packets. Chances are higher that the last packet (in the FIFO-ish queue) is mergeable with the to be added package. If a train gets loaded packets get split up and put into the different carriages, at unload they are unloaded in the same order so the last in the FIFO-ish queue is likely the packet it can merge with.
This results in a 5-10% performance improvement of CargoList's Append/MoveTo without performance degradation of AgeCargo.
This results in a 5-10% performance improvement of CargoList's Append/MoveTo without performance degradation of AgeCargo.