Make use of assert conditional
authorBryan O'Sullivan <bos@serpentine.com>
Sun, 15 Aug 2010 01:47:15 +0000 (01:47 +0000)
committerBryan O'Sullivan <bos@serpentine.com>
Sun, 15 Aug 2010 01:47:15 +0000 (01:47 +0000)
commita99b318f9a12f0d6bf73b0c4ce7bea1d9b3e4a08
tree88027187c039abef0341e726975e91e8b7f80582
parenteac91479c9a983b807d852bed9110df95435220c
Make use of assert conditional

This turns out to make about a 10% difference to performance, even
though the GHC docs claim it shouldn't :-(

--HG--
extra : convert_revision : 446f05ea889a715272cd709cbd2d3b11260df7ba
14 files changed:
Data/Text.hs
Data/Text/Array.hs
Data/Text/Encoding/Fusion.hs
Data/Text/Encoding/Fusion/Common.hs
Data/Text/Encoding/Utf8.hs
Data/Text/Foreign.hs
Data/Text/Fusion.hs
Data/Text/Fusion/Size.hs
Data/Text/Internal.hs
Data/Text/Lazy/Builder.hs
Data/Text/Lazy/Encoding/Fusion.hs
Data/Text/Unsafe.hs
Data/Text/UnsafeChar.hs
text.cabal