See https://github.com/rust-lang/rust/issues/41517. I'm not exactly sure why, but simply swapping pub type for pub trait on the below line (and making the minute requisite changes in other files) the CPU usage of the game decreased by 15%; see the nightly-trait-aliases branch.
See https://github.com/rust-lang/rust/issues/41517. I'm not exactly sure why, but simply swapping
pub type
forpub trait
on the below line (and making the minute requisite changes in other files) the CPU usage of the game decreased by 15%; see the nightly-trait-aliases branch.https://github.com/milkey-mouse/planets/blob/4563831b97ad241974b9f1475c8edf4680d12808/src/audio.rs#L18-L23
This issue was generated by todo based on a
// TODO:
comment in 29f30cb90f81f20801e032b32b91ad7da2f6702b.