[erlang-questions] Gotta be an easier way...
Wed Jun 22 19:25:27 CEST 2011
On Wednesday, June 15, Jesper Louis Andersen wrote:
> Ugh. You could wrap this up in a helper-function and then call the
> helper when you want to do the update. The inliner should make short
> work of any trouble there with call overhead.
Inlining is never default; it must be explicitly enabled with a
compiler option or a -compile() attribute in the source module.
(the 'compile' module manual)
so there isn't going to be any "short work" made unless you twiddle options.
More information about the erlang-questions