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

Robert Virding <>
Mon Mar 11 14:25:16 CET 2013


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 

----- Original Message -----

> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130311/3294b0ea/attachment.html>


More information about the erlang-questions mailing list