Repository navigation
Add Spans to expression nodes - #4273
Conversation
e49028d to
7120ed8
Compare
Test262 conformance changes
|
7120ed8 to
be84bb7
Compare
0b853c3 to
0c6a65b
Compare
0c6a65b to
94c6173
Compare
nekevss
left a comment
There was a problem hiding this comment.
Looks great overall. Pretty
I have a couple issues / nitpicks, but they're mostly doc related. I'd just prefer to have them cleaned up a bit so they don't get lost in subsequent updates.
I am a little curious about whether there's room for improving how spans are set in the parser ... But I'm not entirely convinced that it needs to be addressed currently.
Out of pure curiosity, did you happen to run any benchmarks on this branch to see what the impact of adding spans is (if there even is any)?
Ran the local parser benchmarks (criterion) and there was a performance improvement on almost all the benchmark I think this is due to wrapping some of the very big enum variants in NOTE: The quickjs/v8 benchmarks only benchmark runtime performance so they aren't relevant. |
Related to #300
This PR adds
Spans to expressions, sub-sequent PR will be made for statements and declarations.