Fawzi Mohamed wrote:
good to know, and very important when benchmarking various algorithms: commenting out a variant is better as having it as separate function....
Yes, but don't get over-paranoid. The 'overhead' of calling as opposed to inlining is relatively small, and only matters if the function concerned is being called many many times in your inner loop.
Jules _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
