bevy_replicon icon indicating copy to clipboard operation
bevy_replicon copied to clipboard

Event optimization

Open UkoeHB opened this issue 1 year ago • 0 comments

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.

UkoeHB avatar Oct 16 '24 22:10 UkoeHB