Increase chunk size back to 200

This commit is contained in:
Mats Rauhala 2021-11-04 10:11:37 +02:00
parent 00e585281c
commit a47d4903cb

View File

@ -47,7 +47,7 @@ run = do
let datFile = datDir </> ".addressbook.dat"
original <- Set.fromList . map LBS.toStrict . lbsLines <$> LBS.readFile datFile
xs <- LBS.getContents >>= stream
let set = original `Set.union` F.fold (parMap rseq F.fold (chunks 20 xs))
let set = original `Set.union` F.fold (parMap rseq F.fold (chunks 200 xs))
unless (original == set) $
runResourceT $
runConduit $