3 ms·
Now Apple, Google, Microsoft and Mozilla will all have to ensure that tricks like (a+b)|0 are executed optimally though.
by ajasmin 14y ago
Now Apple, Google, Microsoft and Mozilla will all have to ensure that tricks like (a+b)|0 are executed optimally though.
- nnethercote 14y agoYeah, but that's not hard. And there's a spec that makes it extremely clear which tricks are necessary -- no need to reverse-engineer someone else's implementation, and no risk of tricks that work today breaking tomorrow.
- cpeterso 14y agoThe beauty of this approach is that browser vendors don't have to execute these quirky expressions optimally. They are standard JS, so they will already work.