bevy/crates/bevy_diagnostic/src
François 3d6e4893f6 reverse how diagnostic values are saved (#3056)
# 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)
2022-02-07 21:50:52 +00:00
..
diagnostic.rs reverse how diagnostic values are saved (#3056) 2022-02-07 21:50:52 +00:00
entity_count_diagnostics_plugin.rs Down with the system! (#2496) 2021-07-27 23:42:36 +00:00
frame_time_diagnostics_plugin.rs Down with the system! (#2496) 2021-07-27 23:42:36 +00:00
lib.rs Merge AppBuilder into App (#2531) 2021-07-27 20:21:06 +00:00
log_diagnostics_plugin.rs Fix doc_markdown lints in bevy_diagnostic (#3472) 2021-12-29 17:38:08 +00:00