Always parse (nested) function definitions only once, keeping them in a static immutable table.
This could also be the starting point for a clean way to avoid or allow function override in a controlled manner, and lead to a speed-up.
Related is the handling of function references, that currently only contain the function's name, but could point to a table index instead for different override versions of the same function name.
Always parse (nested) function definitions only once, keeping them in a static immutable table. This could also be the starting point for a clean way to avoid or allow function override in a controlled manner, and lead to a speed-up.
Related is the handling of function references, that currently only contain the function's name, but could point to a table index instead for different override versions of the same function name.