the complaint was about GC, not speed. And that 32bit integer could come from anywhere, and that anywhere cant always be optimized out. but because theyre interned and are enums in webidl, they are still essentially treated as 32bit integer comparisons behind the scenes.
View all comments
Show parent comment
-3
u/Rhed0x 28d ago
How the hell can comparing a string be faster than a single 32 bit integer?