mirror of
https://github.com/bevyengine/bevy
synced 2024-12-22 19:13:08 +00:00
3d6e4893f6
# Objective - Currently, when getting a diagnostic value, the oldest value is returned. This is not the best for a diagnostic with a large history, as you could get a value from several frames away ## Solution - I changed the order in which the history is used to follow ["The “default” usage of this type as a queue is to use push_back to add to the queue, and pop_front to remove from the queue."](https://doc.rust-lang.org/std/collections/vec_deque/struct.VecDeque.html) |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |