ikpil / DotRecast

DotRecast - a port of Recast & Detour, Industry-standard navigation mesh toolset for .NET, C#, Unity3D, games, servers
zlib License
563 stars 72 forks source link

Optimization (breaking): pool RcSpans. #63

Closed awgil closed 8 months ago

awgil commented 8 months ago

Before (using changes from my other PR): image

After: image

ikpil commented 8 months ago

First of all, thank you for your contribution! I'm glad to inform you that your PR has been merged into pr/opt_spanpool.

I was really inspired by the code you provided. I will make a few more modifications from the perspective of porting the recastnavigation library and then merge it finally. Thank you again for your contribution!