Currently, when a rule matches on a string, it allocates memory. In many formats the parent rule might fail and drop the allocated string.
An idea to optimize this is to push conversion operations instead of meta data, and then convert to meta data at the end of parsing.
Currently, when a rule matches on a string, it allocates memory. In many formats the parent rule might fail and drop the allocated string.
An idea to optimize this is to push conversion operations instead of meta data, and then convert to meta data at the end of parsing.