mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
Mark some classes as sealed where possible to remove type tags. Re-order GameStateMapData.GridCreationDatum to reduce memory usage. Use MemoryStream.TryGetBuffer instead of .ToArray() all over the place to cut out allocations. Use VariableInt32s for serialized buffer sizes. Use IRobustSerializer.SerializeDirect<T> where possible.