diff --git a/pydust/src/pydust.zig b/pydust/src/pydust.zig index c74f17a4..e347c51a 100644 --- a/pydust/src/pydust.zig +++ b/pydust/src/pydust.zig @@ -120,6 +120,7 @@ fn eagerEval(comptime definition: type) void { } for (@typeInfo(definition).Struct.decls) |d| { const value = @field(definition, d.name); + @setEvalBranchQuota(10000); if (State.findDefinition(value)) |_| { // If it's a Pydust definition, then we identify it. State.identify(value, d.name ++ "", definition);