Skip to content

Commit

Permalink
increase eval branch quota (#273)
Browse files Browse the repository at this point in the history
  • Loading branch information
lwwmanning authored Dec 16, 2023
1 parent 5ba2408 commit e26ce76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pydust/src/pydust.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e26ce76

Please sign in to comment.