-
Notifications
You must be signed in to change notification settings - Fork 121
Open
Description
Love the library! It is proving very useful. Quick question....
SITUATION: I'm writing some custom generators for data structures that potentially need to generate multiple nested structures of the same type.
PROBLEM: There is a certain threshold where the sizes of the generated data structures seem to explode exponentially, probably because the expected number of children increases at each level (which in turn have a larger expected number of children themselves...)
QUESTION: Is there a good way to control the sizes of nested structures? Ideally if I am generating a data structure of size n with m children, it seems like it would be sensible for each child to be generated with size n/m but it's not quite clear how to do this?
Metadata
Metadata
Assignees
Labels
No labels