ikpil / DotRecast

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

Optimization (breaking): pool RcSpans. #63

Closed awgil closed 3 months ago

awgil commented 3 months ago

Before (using changes from my other PR): image

After: image

ikpil commented 3 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!