What is Nostr?
jb55 / Will
npub1xts…kk5s
2024-12-19 13:38:47
in reply to nevent1q…yf0p

jb55 on Nostr: There is one glaring egui issue where it copies strings into labels before rendering: ...

There is one glaring egui issue where it copies strings into labels before rendering:

https://github.com/emilk/egui/discussions/388

Which causes about 600 nanosecond delay per string instead of 1-2 ns for unowned strings. This adds up to a decent chunk of the frame budget (0 to 1 ms) when rendering lots of strings. Very fixable, just need to use an unowned string label type, i started an egui fork working on this…

You can still hit 144fps at 7ms per frame, so it’s not a huge deal yet…

so technically yeah its copied because of this egui api decision, but they don’t have to be.
Author Public Key
npub1xtscya34g58tk0z605fvr788k263gsu6cy9x0mhnm87echrgufzsevkk5s