<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"><base href="x-msg://200/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Note that sending a message to another process always copies the data though with the exception of >64 byte binaries.<div><br></div><div>Henning<br><div><br><div><div>On Mar 11, 2013, at 2:25 PM, Robert Virding <<a href="mailto:robert.virding@erlang-solutions.com">robert.virding@erlang-solutions.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">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.<br><br>Robert<br><br><hr id="zwchr"><blockquote style="border-left-width: 2px; border-left-style: solid; border-left-color: rgb(16, 16, 255); margin-left: 5px; padding-left: 5px; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica, Arial, sans-serif; font-size: 12pt; "><b>From:<span class="Apple-converted-space"> </span></b>"饕餮" <249505968@<a href="http://qq.com">qq.com</a>><br><b>To:<span class="Apple-converted-space"> </span></b>"erlang-questions" <<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a>><br><b>Sent:<span class="Apple-converted-space"> </span></b>Monday, 11 March, 2013 10:48:29 AM<br><b>Subject:<span class="Apple-converted-space"> </span></b>[erlang-questions] How to reduce the build time when use record?<br><br>When pass the record to another function in code.<div>It will take tons of time to rebuild the project when the record is big.</div><div>How to reduce the build time?</div><div><br></div><br>_______________________________________________<br>erlang-questions mailing list<br><a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>http://erlang.org/mailman/listinfo/erlang-questions<br></blockquote><br></div>_______________________________________________<br>erlang-questions mailing list<br><a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br><a href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a></div></blockquote></div><br></div></div></body></html>