Donald Bruce Stewart wrote:

a) Compile your code with GHC instead of interpreting it. GHC is blazing fast.

That's one answer I suppose! I quite liked using Hugs for that particular program because it's a script that I didn't want to spend time compiling. Oh well, it's not that important.

I did notice that the script runs much quicker with runghc rather than runhugs. Is there any way of making runghc work with a script whose name doesn't end ".hs"?

b) If not satisifed with the result, Use packed strings (as python does).

Good suggestion, thanks.

Pete

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to