- 
    Task 
- 
    Resolution: Fixed
- 
     P4 P4
- 
    None
- 
    None
- 
        b82
                    Array-like access of characters in a string is currently very slow in Nashorn because it is done by the generic ScriptObject accessors and involves creation of a temporary NativeString wrapper.
It would be better to check whether a key is a valid index for the given string and only fall back to NativeString if it is not.
It would be better to check whether a key is a valid index for the given string and only fall back to NativeString if it is not.