Increase chunk size back to 200
This commit is contained in:
parent
00e585281c
commit
a47d4903cb
@ -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 $
|
||||
|
Loading…
Reference in New Issue
Block a user