On Feb 15, 2008 3:34 PM, Lemmih <[EMAIL PROTECTED]> wrote:
> Greetings,
>
> The attached patch is a two-step optimization:
>  1) Only call 'getType' 100,000,000 times instead of 600,000,000 times.
>  2) Greatly simplify the actual loop.
>
> Without this patch, compiling base-1.0.hl takes 19 minutes. With this
> patch, compile time is down to 11 minutes.
> Feedback would be greatly appreciated.

Greetings,

The attached patch optimizes the allocation of new ids in substitutions.

Without this patch, compiling base-1.0.hl takes 11 minutes (down from
19). With this patch, compile time is down to 6 minutes.

Feedback would be greatly appreciated.

-- 
Cheers,
  Lemmih

Attachment: optRoundTwo.dpatch
Description: Binary data

_______________________________________________
jhc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/jhc

Reply via email to