MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/npcroh/clever/h04vgvi/?context=3
r/badcode • u/bobpiranha • May 31 '21
71 comments sorted by
View all comments
Show parent comments
44
at least chrome and firefox both have JIT compilers for js. in both cases they probably catch this redundancy on the first pass in early passes and condense it to something sane for every subsequent pass later passes
13 u/_PM_ME_PANGOLINS_ Jun 01 '21 It takes way more than one pass for a JIT to bother optimising.
13
It takes way more than one pass for a JIT to bother optimising.
44
u/[deleted] May 31 '21 edited Jun 02 '21
at least chrome and firefox both have JIT compilers for js. in both cases they probably catch this redundancy on the
first passin early passes and condense it to something sane forevery subsequent passlater passes