<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000'>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:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"饕餮" <249505968@qq.com><br><b>To: </b>"erlang-questions" <erlang-questions@erlang.org><br><b>Sent: </b>Monday, 11 March, 2013 10:48:29 AM<br><b>Subject: </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>erlang-questions@erlang.org<br>http://erlang.org/mailman/listinfo/erlang-questions<br></blockquote><br></div></body></html>