bevy_replicon
bevy_replicon copied to clipboard
Event optimization
Right now the backend does not pre-allocate capacity for events when serializing them. This means any message over a couple bytes will cause excess allocations.
We need to choose a reasonable initial capacity for event messages based on some heuristics/benchmarks.