Is there a JS optimizer that can simulate simple value types (e.g. (x, y)) by transforming into multiple vars/fields?
@comex SpiderMonkey has ScalarReplacement. I don't know how often it kicks in in practice. http://mxr.mozilla.org/mozilla-central/source/js/src/jit/ScalarReplacement.cpp …
-
-
@pcwalton Interesting. I was thinking of a transpiler doing the optimization, but if the engine can do it at least sometimes, that’s nice.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.