clawsie:
> i recently saw a (yet-another) benchark comparing various languages:
>
> http://www.timestretch.com/FractalBenchmark.html
>
> while no haskell example was listed, i thought i would try a naive
> implementation myself for comparison. it is available here:
>
> http://www.b7j0c.org/dev/h
Donald Bruce Stewart wrote:
Some things to remember using Doubles:
* {-# OPTIONS -fexcess-precision #-}
* -fvia-C
* -fbang-patterns
* -optc-O2 -optc-mfpmath=sse -optc-msse2
* -optc-march=pentium4
1. What do all those things do?
2. Is the effect actually that large?
__
> [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Coppin
>
> Donald Bruce Stewart wrote:
> > Some things to remember using Doubles:
> >
> > * {-# OPTIONS -fexcess-precision #-}
> > * -fvia-C
> > * -fbang-patterns
> > * -optc-O2 -optc-mfpmath=sse -optc-msse2
> > * -optc-march=pen
andrewcoppin:
> Donald Bruce Stewart wrote:
> >Some things to remember using Doubles:
> >
> >* {-# OPTIONS -fexcess-precision #-}
> >* -fvia-C
> >* -fbang-patterns
> >* -optc-O2 -optc-mfpmath=sse -optc-msse2
> >* -optc-march=pentium4
> >
>
> 1. What do all those things do?
> [mailto:[EMAIL PROTECTED] On Behalf Of Donald
> Bruce Stewart
>
> 3) -fbang-patterns
>
> Better than `seq`
Better in the "more convenient to write" sense, right? AFAIUI, seq and
bang patterns should be equivalent.
Alistair
*
Con
Alistair_Bayley:
> > [mailto:[EMAIL PROTECTED] On Behalf Of Donald
> > Bruce Stewart
> >
> > 3) -fbang-patterns
> >
> > Better than `seq`
>
> Better in the "more convenient to write" sense, right? AFAIUI, seq and
> bang patterns should be equivalent.
>
Yes, in the 'more convenient' sense. Add
Bayley, Alistair wrote:
[mailto:[EMAIL PROTECTED]] On Behalf Of Andrew Coppin
Donald Bruce Stewart wrote:
Some things to remember using Doubles:
* {-# OPTIONS -fexcess-precision #-}
* -fvia-C
* -fbang-patterns
* -optc-O2 -optc-mfpmath=sse -optc-msse2
3) -fbang-patterns
Better than `seq`
Do you mean "more convenient than" or "generates better code than". I don't
think the latter should be true; send a counterexample if you find one!
Simon
___
Haskell-Cafe mailing list
Haskell-Caf
* Andrew Coppin <[EMAIL PROTECTED]> [070608 02:45]:
>Bayley, Alistair wrote:
>
> [[1]mailto:[EMAIL PROTECTED] On Behalf Of Andrew Coppin
>
> Donald Bruce Stewart wrote:
>
> Some things to remember using Doubles:
>
> * {-# OPTIONS -fexcess-precision #-}
> * -fvia-C
> * -fbang-pat
sic:
> * Andrew Coppin <[EMAIL PROTECTED]> [070608 02:45]:
> >Bayley, Alistair wrote:
> >
> > [[1]mailto:[EMAIL PROTECTED] On Behalf Of Andrew Coppin
> >
> > Donald Bruce Stewart wrote:
> >
> > Some things to remember using Doubles:
> >
> > * {-# OPTIONS -fexcess-precision #-}
> > *
dons:
> sic:
> > * Andrew Coppin <[EMAIL PROTECTED]> [070608 02:45]:
> > >Bayley, Alistair wrote:
> > >
> > > [[1]mailto:[EMAIL PROTECTED] On Behalf Of Andrew Coppin
> > >
> > > Donald Bruce Stewart wrote:
> > >
> > > Some things to remember using Doubles:
> > >
> > > * {-# OPTIONS -fex
11 matches
Mail list logo