Skip to content

Commit

Permalink
decrease variant depth for memory usage
Browse files Browse the repository at this point in the history
  • Loading branch information
bdemann committed Jan 15, 2024
1 parent 27c06b7 commit d6e3f8b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export type Variant = {
export function VariantArb(): fc.Arbitrary<CandidValueAndMeta<Variant>> {
return CandidValueAndMetaArbGenerator(
VariantDefinitionArb(candidDefinitionMemo, [], {
n: DEFAULT_DEF_MAX_DEPTH
n: DEFAULT_DEF_MAX_DEPTH - 1
}),
VariantValuesArb
);
Expand Down

0 comments on commit d6e3f8b

Please sign in to comment.