This commit is contained in:
mischa 2023-06-15 15:36:19 +08:00
parent 86064080f9
commit 4cb2e75d4f

View File

@ -4,7 +4,6 @@
namespace Mirror namespace Mirror
{ {
// for performance, we (ab)use c# generics to cache the message id in a static field // for performance, we (ab)use c# generics to cache the message id in a static field
// this is significantly faster than doing the computation at runtime or looking up cached results via Dictionary // this is significantly faster than doing the computation at runtime or looking up cached results via Dictionary
// generic classes have separate static fields per type specification // generic classes have separate static fields per type specification