andriyDev / landmass

A navigation system for video games written in Rust.
Apache License 2.0
30 stars 2 forks source link

Report path finding statistics. #8

Closed andriyDev closed 3 months ago

andriyDev commented 1 year ago

This should include the number of explored nodes per path, and the number of path finds per frame.

I'm not sure what the right mechanism for this is. Ideally this would be zero-cost so we don't allocate memory if you don't care about path stats. Need to play around with this!