ModernUO/Projects/Benchmarks/Packets
Kamron Batman 03d0a4664e
fix(core): Adds SkipLocalsInitAttribute support, optimizes broadcasted packets (#363)
- [X] Adds support for `SkipLocalsInitAttribute`. SkipLocalsInitAttribute skips initializing stack variables including `stackalloc`. I don't think it is wired/working yet but should be implemented soon.
- [X] Optimizes broadcasted packets by checking if the first byte (packet ID) is non-zero. If it is already set, it reuses the buffer.
- [X] Removes unnecessary refs to Spans. I don't think the Span struct itself is mutable, so a ref is not helpful.
2020-12-26 12:46:06 -08:00
..
BenchmarkPacketBroadcast.cs fix(core): Adds SkipLocalsInitAttribute support, optimizes broadcasted packets (#363) 2020-12-26 12:46:06 -08:00
PacketTestUtilities.cs Adds back in old benchmarks. Cleans up tests. (#270) 2020-10-04 11:45:07 -07:00