helix
helix copied to clipboard
Optimize `ui::menu::Item::label()` implementations
- nit: move an allocation to happen after a
continue, making sure it's not done for nothing - nit: Do less allocations in
ui::menu::Item::labelimplementations, often dividing by two or more the number of allocations in a call