optimize IsIdentChar
authorEvan Martin <martine@danga.com>
Fri, 9 Sep 2011 22:52:36 +0000 (15:52 -0700)
committerEvan Martin <martine@danga.com>
Fri, 9 Sep 2011 22:52:36 +0000 (15:52 -0700)
commit50489a5160425bb68d5c57fbaa352a5355c2254b
treeb2b8e763ba4441c63e07f806a54213483333200a
parent085572d523b3d1bb40666dfd7a4a93dd1f0d376f
optimize IsIdentChar

Rather than nested tests, use a table.  Shaves 200ms off Chrome null startup.
src/parsers.cc