← Back to context

Comment by test1072

6 days ago

Perhaps "eventlistener" word can be extracted, and dynamically called as string to reduce bytes

This 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.