You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
perf(parser): optimize code around parsing delimited list and object (#11755)
parse_object_expression:
- remove unnecessary `bump(Kind::Comma)`
parse_delimited_list:
- avoid `first` variable and related check by unrolling first iteration
of loop
- avoid `trailing_separator` variable by restructuring code
- avoid mostly wasted call to `start_span()` (only possible if
`separator` is always one character)
parse_object_literal_element
- avoid redundant kind check when parsing getter and setter
0 commit comments