mirror of
https://github.com/bevyengine/bevy
synced 2024-11-14 00:47:32 +00:00
49a06e9c76
# Objective - Don't reallocate the spans vector every time TextPipeline updates a buffer. ## Solution - Cache the spans buffer in `TextPipeline`. This is possible through some [rust magic](https://users.rust-lang.org/t/how-to-cache-a-vectors-capacity/94478/10). |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |