[erlang-questions] : Was Re: Bug ?! now Erlang comment (LONG LONG)
Sat Oct 28 07:38:31 CEST 2006
"Bob Ippolito" <> writes:
> I started doing this by
> -define()'ing a big static tuple, but I've noticed that the VM does a
> very bad job if you stick a giant constant tuple in a function whose
> sole purpose is to pull a record out of it. For some reason the tuple
> gets allocated and deallocated a lot, rather than being constant in
> the module (HiPE optimized this case correctly, but I don't always
> compile with HiPE).
We are working on that. A future release will support a constant pool
for each module.
Björn Gustavsson, Erlang/OTP, Ericsson AB
More information about the erlang-questions