mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-05 15:59:45 +00:00
8214f675ca
1. Keyword search via Java Hahstable is replaced by explicit "switch" code generated by idswitch tool. It not only speed up keyword search and eliminates all Integer objects created to hold keyword tokens and corresponding Hahstable structures, but it also reduces code size due to very poor array initialization support in JVM. 2. It replaces the isXDigit method by xDigitToInt that either converts its argument to 0..15 or returns -1 if it is not a hex digit and updates the method usage accordingly The patch updates NativeGlobal.js_unescape to reflect this usage change. |
||
---|---|---|
.. | ||
org/mozilla/javascript/tools | ||
build.xml |