imstr icon indicating copy to clipboard operation
imstr copied to clipboard

Add `new()` optimisation

Open xfbs opened this issue 2 years ago • 0 comments

To prevent needing an allocation, add an optimisation that will simple use a globally shared Arc with an empty string.

Needs benchmarking to make sure this make sense.

xfbs avatar Apr 09 '23 15:04 xfbs