mirror of
https://github.com/oxc-project/oxc.git
synced 2026-11-04 10:29:58 +00:00
perf(parser): always inline postfix update parsing (#28429)
Always inline postfix update parsing to remove its 96-byte callee frame from ordinary expressions. Native M3 Max versus `1b5a171d28`: +1.50% across five fixtures (+1.19% clean subset); release parser example +16,512 bytes (+0.99%), including +1,664 instruction bytes. AI-assisted with Codex.
This commit is contained in:
1 parent
ce9a554278
commit
028a2678b6
1 file changed
+2
-1
@@ -1305,7 +1305,8 @@ impl<'a, C: Config> ParserImpl<'a, C> {
|
||||
self.parse_postfix_update_expression(start, lhs)
|
||||
}
|
||||
|
||||
#[inline]
|
||||
#[expect(clippy::inline_always)]
|
||||
#[inline(always)]
|
||||
fn parse_postfix_update_expression(
|
||||
&mut self,
|
||||
start: u32,
|
||||
|
||||
Reference in new issue
Block a user