summaryrefslogtreecommitdiff
path: root/AK
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-09-14 02:51:16 +0200
committerAndreas Kling <kling@serenityos.org>2021-09-14 02:51:16 +0200
commit910de95e7aadcbdb8a3f04ec1ec4c6518ef1cd86 (patch)
tree7c655734b0111902843da9bc4250ad050e95f3be /AK
parenta50e33abe3a34aba965e329a615eab4d87227e4c (diff)
downloadserenity-910de95e7aadcbdb8a3f04ec1ec4c6518ef1cd86.zip
LibJS: Add a fast failure path to try_parse_arrow_function_expression()
The save/load of parser state performed by lookahead parsing is quite expensive so let's try to avoid it in the most common case. This is a 15-20% speedup on various chunks of JS I've tested. :^)
Diffstat (limited to 'AK')
0 files changed, 0 insertions, 0 deletions