bevy/crates/bevy_input/src
bjorn3 fbf08ac545
Faster compilation of bevy_diagnostic (#1235)
* Remove AHashExt

There is little benefit of Hash*::new() over Hash*::default(), but it
does require more code that needs to be duplicated for every Hash* in
bevy_utils. It may also slightly increase compile times.

* Add StableHash* to bevy_utils

* Use StableHashMap instead of HashMap + BTreeSet for diagnostics

This is a significant reduction in the release mode compile times of
bevy_diagnostics

```
Benchmark #1: touch crates/bevy_diagnostic/src/lib.rs && cargo build --release -p bevy_diagnostic -j1
  Time (mean ± σ):      3.645 s ±  0.009 s    [User: 3.551 s, System: 0.094 s]
  Range (min … max):    3.632 s …  3.658 s    20 runs
```

```
Benchmark #1: touch crates/bevy_diagnostic/src/lib.rs && cargo build --release -p bevy_diagnostic -j1
  Time (mean ± σ):      2.938 s ±  0.012 s    [User: 2.850 s, System: 0.090 s]
  Range (min … max):    2.919 s …  2.969 s    20 runs
```
2021-01-12 13:21:45 -08:00
..
axis.rs Faster compilation of bevy_diagnostic (#1235) 2021-01-12 13:21:45 -08:00
gamepad.rs fix repeated gamepad events (#1221) 2021-01-07 12:35:40 -08:00
input.rs Test more areas of the codebase (#953) 2020-11-30 22:58:49 -08:00
keyboard.rs Fixed property typos, KeyCode typo. (#857) 2020-11-16 16:33:19 -08:00
lib.rs Implement Copy for ElementState (#1154) 2020-12-28 15:24:31 -06:00
mouse.rs Add support for Apple Silicon by upgrading winit. (#1043) 2020-12-13 11:27:54 -08:00
system.rs Move ElementState to top-level of bevy_input. Resolves #687. (#769) 2020-11-02 18:16:13 -08:00
touch.rs Test more areas of the codebase (#953) 2020-11-30 22:58:49 -08:00