[erlang-questions] elrc "implementation limit"?

Bjorn Gustavsson bgustavsson@REDACTED
Fri Aug 29 14:34:51 CEST 2008

On Fri, Aug 29, 2008 at 2:08 PM, Dimitry Golubovsky <golubovsky@REDACTED>wrote:

> Hi,
> This is basically the same "large indexable structure" I asked couple
> days ago about (how to get the most efficient indexed access).
> If compilation of such a large tuple fails, what is the other way to
> build such a structure into a program (other than reading it from an
> external file)?

Either add the following line to your module


(inlining is not default in the Erlang compiler or manually inline all of
the prop() functions into char_block(). Either way,
the tuple will become a literal tuple, which the compiler will not have any
problem with.

Björn Gustavsson, Erlang/OTP, Ericsson AB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080829/53baf1e1/attachment.htm>

More information about the erlang-questions mailing list