
The transformations that the compiler does, especially with -O, are sufficiently complex that trying to second-guess the performance effects of source changes is difficult. You'd get a much better handle on this by reading the post-optimised program, which you can get with -ddump-simpl. Good luck! This is not for the faint of heart. J | -----Original Message----- | From: Jorge Adriano [mailto:jadrian@mat.uc.pt] | Sent: Sunday, February 10, 2002 7:18 PM | To: glasgow-haskell-users@haskell.org | Subject: Re: efficiency question | | | On Sunday 10 February 2002 18:48, Kirsten Chevalier wrote: | > I'd guess that it's not just that you have to apply the (,) | constructor -- | > it also has to do with the fact that the tuples it's | constructing here are | > boxed. | | could you elaborate a little more on that (boxed / unboxed) | or provide a link | on the subject? | | thanks | J.A. | _______________________________________________ | Glasgow-haskell-users mailing list | Glasgow-haskell-users@haskell.org | http://www.haskell.org/mailman/listinfo/glasgow-haskell-users |
participants (1)
-
Julian Seward (Intl Vendor)