diff options
author | Jozef Behran <jozuejozef@gmail.com> | 2019-01-12 10:57:26 -0500 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2019-01-12 16:57:26 +0100 |
commit | 5a00b118959941722de977f2452f1e656c75304e (patch) | |
tree | 0a4a9d50514cd4f849cc60cbbf455732bc4a8f22 /.gitattributes | |
parent | 03cc93f48957a5dee04c56ff8c5b05d647e77d2d (diff) | |
download | minetest-5a00b118959941722de977f2452f1e656c75304e.tar.gz minetest-5a00b118959941722de977f2452f1e656c75304e.tar.bz2 minetest-5a00b118959941722de977f2452f1e656c75304e.zip |
Optimize path finalization in pathfinder (#8100)
The pathfinder needs quite a bunch of items to add to the
resulting list. It turns out the amount of the space needed
for the finalized path is known in advance so preallocate it
to avoid a burst of reallocation calls each time something
needs to look for a path.
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions