We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ec34f8 commit ea5d9bbCopy full SHA for ea5d9bb
1 file changed
tests/pvec/t_pvec.ml
@@ -265,10 +265,14 @@ module Op = struct
265
( 1,
266
list_small gen_x >|= fun l ->
267
Append l, size + List.length l );
268
+ ];
269
+ (if size < 10_000 then [
270
+ (* flat map can explode, only do it if list isn't too big *)
271
272
list_size (0 -- 5) gen_x >|= fun l ->
273
Flat_map l, size * (1 + List.length l) );
- ];
274
+ ] else [])
275
+ ;
276
]
277
in
278
0 commit comments