RiptideNetworking / Riptide

Lightweight C# networking solution for multiplayer games.
https://riptide.tomweiland.net
MIT License
1.13k stars 145 forks source link

Switch to nanosockets to minimize allocations #141

Open megalithos opened 5 months ago

megalithos commented 5 months ago

I propose switching to nanosockets (https://github.com/nxrighthere/NanoSockets) for minimizing allocations. Currently riptide allocates quite bit of memory at least when data is received.

I might be able to implement this myself if I find the time.

tom-weiland commented 5 months ago

Since I'm no longer actively working on Riptide I won't be able to do this, but if you do find the time, feel free to create a pull request 👍