aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorAlexis (Poliorcetics) Bourget2022-10-15 17:16:17 +0000
committerMichael Davis2022-10-21 12:42:33 +0000
commit34389e1d5472f458934b0af2a15192e2b8d83e1e (patch)
tree8a17f65501b20aae9bd7bc945ff37645f1f0b3a2 /contrib
parent3aea33a4152e8ad1018b7d7019b2d2fde971eea4 (diff)
nit: Do less allocations in `ui::menu::Item::label` implementations
This complicates the code a little but it often divides by two the number of allocations done by the functions. LSP labels especially can easily be called dozens of time in a single menu popup, when listing references for example.
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions