Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
miwarnec authored Sep 27, 2024
1 parent 1e78ecc commit 9c7ada3
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,7 @@ kcp2k works perfectly with Unity, see the Mirror repository's KcpTransport.
The client is allocation free.
The server's SendTo/ReceiveFrom still allocate.

Previously, [where-allocation](https://github.com/vis2k/where-allocation) for a 25x reduction in server allocations. However:
- It only worked with Unity's old Mono version.
- It didn't work in Unity's IL2CPP builds, which are still faster than Mono + NonAlloc
- It didn't work in regular C# projects.
- Overall, the extra complexity is not worth it. Use IL2CPP instead.
- Microsoft is considering to [remove the allocation](https://github.com/dotnet/runtime/issues/30797#issuecomment-1308599410).
Microsoft is considering to [remove the remaining allocation](https://github.com/dotnet/runtime/issues/30797#issuecomment-1308599410).

# Remarks
- **Congestion Control** should be left disabled. It seems to be broken in KCP.

0 comments on commit 9c7ada3

Please sign in to comment.