diff options
author | smix8 <52464204+smix8@users.noreply.github.com> | 2024-11-05 22:10:53 +0100 |
---|---|---|
committer | smix8 <52464204+smix8@users.noreply.github.com> | 2024-11-05 22:10:53 +0100 |
commit | b840c9837aa5a8138ed4051ee167620f2be81e67 (patch) | |
tree | 8a2bbe09935691e35264bc9a2fe5365328b2dfb8 /modules/navigation/nav_utils.h | |
parent | b00e1cbf743dcb6a2b7f6bd14e348a1a7cf3d403 (diff) | |
download | redot-engine-b840c9837aa5a8138ed4051ee167620f2be81e67.tar.gz |
Reduce allocations for NavMap synchronisation
Improves navigation map sync performance be avoiding unnecessary memory allocations.
Diffstat (limited to 'modules/navigation/nav_utils.h')
-rw-r--r-- | modules/navigation/nav_utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/navigation/nav_utils.h b/modules/navigation/nav_utils.h index ba4c44b748..c466c82fc7 100644 --- a/modules/navigation/nav_utils.h +++ b/modules/navigation/nav_utils.h @@ -94,7 +94,7 @@ struct Edge { }; /// Connections from this edge to other polygons. - Vector<Connection> connections; + LocalVector<Connection> connections; }; struct Polygon { |