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 ef41433 commit ced0f24
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 ced0f24

Please sign in to comment.