[Haskell-cafe] slow code

Jason Dagit dagit at codersbase.com
Tue Jun 16 23:46:58 EDT 2009

On Tue, Jun 16, 2009 at 6:47 PM, brian <briand at aracnet.com> wrote:

> On Jun 16, 2009, at 8:58 AM, Don Stewart wrote:
>  So I guess it's the show's, but I can't seem to find more efficient
>>> float output.
>>> FFI to sprintf ? yuch.
>> Is your SMLNJ using lazy lists? :)
> strictly speaking : no.
>  Try hmatrix or uvector.
> uvector is _probably_ the long term answer even after I solve the double ->
> string problem.
> However, I would like to reiterate that it's the double -> string which is
> really the time/memory sink.  I verified this by printing a simple string
> based on the value (to make sure the value was evaluated) and it runs fast
> enough for me.

You might want to look at the source and see if you can find a faster way to
convert it:

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090616/6834a469/attachment.html

More information about the Haskell-Cafe mailing list