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 Dec 22, 2023
1 parent e2db955 commit 3b59d9b
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 3b59d9b

Please sign in to comment.