Cache parsed expressions
check_lazy_status and execute parsed the same expression twice per run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
977ce75c89
commit
70dee22a89
@@ -22,4 +22,4 @@ class ScriptTextInput(io.ComfyNode):
|
||||
|
||||
@classmethod
|
||||
def execute(cls, script):
|
||||
return (remove_dead_code(parse_expr(script)),)
|
||||
return (remove_dead_code(parse_expr.__wrapped__(script)),)
|
||||
|
||||
Reference in New Issue
Block a user