Erlang Efficiency quesitons
Wed Mar 14 19:44:00 CET 2001
> I also know that higher-order functions are very efficient now. This
> also means that old warnings about list comprehensions are no longer
> quite as valid.
Does that only apply to list comprehensions? It seems, from doing some
timings, that just writing raw Erlang to process a list is still
significantly faster than doing a map or fold, for example. It would be
kind of nice to have certain cases of map be handled as parse
transformations rather than calling lists:map. Most times I use higher
order functions as sort of a shorthand as it is, and not anything fancy.
More information about the erlang-questions