on master help sign in
Fix incorrect comments for 'defaultChunkSize' and 'smallChunkSize'.

--HG-- extra : convert_revision : 91f903f0e9917b90c59bca9469e3d815cfac9c10

commitfdd934ceb390802f0a9e18647e2434510c6f71e9 authorJohn Millikin <jmillikin@gmail.com> dateSun 15 Aug 2010, 17:21 (16 years ago) parentb9cd5b9
1 file changed+2−2
Data/Text/Lazy/Internal.hs+2−2
Data/Text/Lazy/Internal.hs+2−2
@@ -87,12 +87,12 @@ foldlChunks f z = go z
8787 go !a (Chunk c cs) = go (f a c) cs
8888{-# INLINE foldlChunks #-}
8989
90−-- | Currently set to 32KB, less the memory management overhead.
90+-- | Currently set to 16 KiB, less the memory management overhead.
9191defaultChunkSize :: Int
9292defaultChunkSize = 16384 - chunkOverhead
9393{-# INLINE defaultChunkSize #-}
9494
95−-- | Currently set to 256 bytes, less the memory management overhead.
95+-- | Currently set to 128 bytes, less the memory management overhead.
9696smallChunkSize :: Int
9797smallChunkSize = 128 - chunkOverhead
9898{-# INLINE smallChunkSize #-}