mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +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 |