![]() # Objective We are currently inserting an `input` into `pressed` even if it is already pressed. This also applies to releasing an input. This is not a big deal, but since we are already checking if the `input` is pressed or not we might as well remove the cost of the value update caused by the `pressed.insert` method. Related to #4209 ## Solution Only insert or remove input if needed. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |