Symphonia
Symphonia copied to clipboard
Replace lazy_static with phf and once_cell
- Reduces macro magic in the case of replacing with
once_cell::sync::Lazy
and removes a lot of lines due to no indentation required. - Improves runtime performance in the case of replacing lazy_static'd
HashMap
withphf::Map
by creating the maps at compile time, avoiding even one allocation at runtime