kvz/phpjs — pull request #193 by duzun (2014-10-24 13:49:20+00:00)
Title: Use b64[char] instead of b64.indexOf(char)

By replacing b64 String with and Object and searching for char index in an object this function get twice faster (~ x2.5 faster according to my tests on run on a 340 chars long string). The bigger string, the bigger performance gain.
b64 object has to be computed only at first call to this function.