[Haskell-cafe] Number overflow

Thomas Conway drtomc at gmail.com
Wed Jul 11 19:14:57 EDT 2007

On 7/12/07, Andrew Coppin <andrewcoppin at btinternet.com> wrote:
> What, as in the way that simple strings are lists, and you change it to
> something less flexible but faster if you actually need it?
> I suppose that makes some sense...

Not much. There is a very significant difference between the two.

The differences between Int and Integer operations are mostly constant factors.

The differences between String and ByteString operations are
algorithmic (consider length).

Dr Thomas Conway
drtomc at gmail.com

Silence is the perfectest herald of joy:
I were but little happy, if I could say how much.

More information about the Haskell-Cafe mailing list