1. Bryan O'Sullivan
  2. text

Source

text / Data / Text / Fusion / Size.hs

Author Commit Message Date Builds
Bryan O'Sullivan
Replace the few last uses of div with quot
Bryan O'Sullivan
Fix an overly cautious bit of arithmetic checking. Even though the value behind a Size is an Int, we actually intend that those values should always be non-negative. (We don't use the notionally more appropriate Word because GHC doesn't do a very good job with it.) But non-negative means that 0+0 should be 0! Um, oops.
Bryan O'Sullivan
Fusion-related size calculations: detect overflows
Bryan O'Sullivan
Remove unused code
Bryan O'Sullivan
Add compareLength and some rewrite rules
Bryan O'Sullivan
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 :-(
Bryan O'Sullivan
Change Tom's email address
Bryan O'Sullivan
ZOMG size isn't everything.