6 ms·
Perhaps "eventlistener" word can be extracted, and dynamically called as string to reduce bytes
by test1072 1y ago
Perhaps "eventlistener" word can be extracted, and dynamically called as string to reduce bytes
- deleted 1y ago[deleted]
- hmmokidk 1y agoYou joke, but I think about things like this...a lot.
- chrismorgan 1y agoThis has been a popular technique at times, but it tends to increase compressed sizes: gzip and similar are better at common string deduplication, having lower overhead. Such shenanigans are also bad for performance, especially in hot paths due to making it harder for the browser to optimise it.
- deleted 1y ago[deleted]