[erlang-questions] How to reduce the build time when use record?

Henning Diedrich <>
Mon Mar 11 15:17:55 CET 2013


Note that sending a message to another process always copies the data though with the exception of >64 byte binaries.

Henning

On Mar 11, 2013, at 2:25 PM, Robert Virding <> wrote:

> This question relates to the previous question of whether arguments are passed by value in a function call. They aren't, they are passed by reference but the immutable data property of Erlang makes this safe as the data can never be modified. It is the same with records. Once the record has been created it is passed by reference ad never copied, and like *ALL* erlang data a record is immutable so this causes no problems.
> 
> Robert
> 
> From: "饕餮" <>
> To: "erlang-questions" <>
> Sent: Monday, 11 March, 2013 10:48:29 AM
> Subject: [erlang-questions] How to reduce the build time when use record?
> 
> When pass  the record to another function in code.
> It will take tons of time to rebuild the project when the record is big.
> How to reduce the build time?
> 
> 
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
> 
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130311/f36b1459/attachment.html>


More information about the erlang-questions mailing list