Skip to content

Update NavMeshPathfinding.json#2151

Open
Bouh wants to merge 1 commit into
mainfrom
navmesh_perf
Open

Update NavMeshPathfinding.json#2151
Bouh wants to merge 1 commit into
mainfrom
navmesh_perf

Conversation

@Bouh

@Bouh Bouh commented Jun 7, 2026

Copy link
Copy Markdown
Member

Cache grid.dimX() and grid.dimY() calls into local variables (dimX, dimY, maxX, maxY) before nested loops, instead of recomputing them on every iteration.
That reduces redundant function call overhead during pathfinding computation.

@Bouh Bouh requested a review from a team as a code owner June 7, 2026 16:38
@D8H

D8H commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

Thank you for submitting an extension update.

Please, share profiling results that show the efficiency impact.

@D8H D8H added 🔄 Extension update An update for an existing extension 🧪 Experimental extension An extension submission to be merged with a lightweight review. labels Jul 8, 2026
@github-project-automation github-project-automation Bot moved this to Needs review in Extensions review Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🧪 Experimental extension An extension submission to be merged with a lightweight review. 🔄 Extension update An update for an existing extension

Projects

Status: Needs review

Development

Successfully merging this pull request may close these issues.

2 participants