on master help sign in
Fix concatMapWith benchmarks measurement issue.

The problem got introduced inadvertently by commit 22bfa7259975d9e2a5ea82cc59947a294fd2c81b

commitcee86ffa422de62ff1313a7440f5d8e96464746f authorHarendra Kumar <harendra.kumar@gmail.com> dateSat 25 Jan 2020, 22:58 (7 years ago) parent806364f
1 file changed+2−2
benchmark/Streamly/Benchmark/Prelude.hs+2−2
benchmark/Streamly/Benchmark/Prelude.hs+2−2
@@ -888,8 +888,8 @@ concatStreamsWith
888888 -> IO ()
889889concatStreamsWith op outer inner n =
890890 S.drain $ S.concatMapWith op
891− (\i -> sourceUnfoldrMN (i + inner) i)
892− (sourceUnfoldrMN (n + outer) n)
891+ (\i -> sourceUnfoldrMN inner i)
892+ (sourceUnfoldrMN outer n)
893893
894894{-# INLINE concatMapWithSerial #-}
895895concatMapWithSerial :: Int -> Int -> Int -> IO ()