How expensive is a GHC function call?
How do I make a decision whether to specialize or to inline?
On Dec 22, 2005, at 10:06 PM, Simon Peyton-Jones wrote:
(Brief because I'm at home.)
Use INLINE (alone) to include swap at its call sites. (That gives
perfect per-call-site specialisation.)
Use SPECIALISE (alone) to make a specialised copy of swap, which is
then
not duplicated at each call site, but instead is called.
--
http://wagerlabs.com/
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe