
20 Mar
2006
20 Mar
'06
3:04 p.m.
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