]> git.kaiwu.me - njs.git/commit
Parser: reduce variable reference payload
authorDmitry Volyntsev <xeioex@nginx.com>
Thu, 3 Sep 2026 00:39:41 +0000 (17:39 -0700)
committerDmitry Volyntsev <xeioexception@gmail.com>
Thu, 10 Sep 2026 03:11:04 +0000 (20:11 -0700)
commit9ff881e381c065b5018fca96b0f745ea563f1450
tree56395ab6934fbb0abbc0ece222f56c9c93224692
parent019bfd90fcf25490b6522f0ce6bf415892f41646
Parser: reduce variable reference payload

Store the atom identifier and resolved variable directly in parser nodes and
move the undefined-reference flag into the common node flags.  This removes the
separately allocated reference object and helps reduce parser nodes to the
64-byte memory-pool class.
src/njs_generator.c
src/njs_parser.c
src/njs_parser.h
src/njs_variable.c
src/njs_variable.h