On Fri, May 21, 2010 at 4:56 AM, Renick Bell <[email protected]> wrote:
>> I found hp2any-manager extremely useful.
>
> Thank you for your advice. You put me on the right path. I had been
> running my code and interacting with it in ghci, which is where I
> experienced the lateness. To use hp2any, I prepared a compiled version
> and ran it, and not only was it using almost no memory (as I had
> believed), the lateness disappeared. The problem, it appears, is using
> ghci.
>
> From that, I found that doing
>
>    :set -fobject-code
>
> in ghci improves the timing considerably, though it is still not perfect.
>
> Now I need to find out if it can be made any better from within ghci.

You could try compiling the time-critical stuff with ghc -O2, then
just load the object files with ghci.  That might give better results.

John
_______________________________________________
haskell-art mailing list
[email protected]
http://lists.lurk.org/mailman/listinfo/haskell-art

Reply via email to