helix icon indicating copy to clipboard operation
helix copied to clipboard

Optimize `ui::menu::Item::label()` implementations

Open poliorcetics opened this issue 3 years ago • 0 comments

  • 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::label implementations, often dividing by two or more the number of allocations in a call

poliorcetics avatar Oct 15 '22 17:10 poliorcetics