Hi Vikrant! :)<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Now next stuff I wonder, will the time required to pass message depends on what is being passed through message? guess is that it should. Because on process boundaries the data is copied.... copying will take time which will depend on the data itself.<br>
</blockquote><div><br>I don't really know what happens while sending messages (cue for more experienced folks ;)) but I remember recently reading (*checking mail...*) here: <a href="http://erlang.org/pipermail/erlang-questions/2009-March/042714.html">http://erlang.org/pipermail/erlang-questions/2009-March/042714.html</a>):<br>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"><pre>Large heap binaries are always reference counted; this has nothing to<br>do with the hybrid memory architecture. But it's only for binaries.<br>
<br>What the hybrid system does is keep a separate, shared heap for all<br>data that has been passed as messages. On the first send, the data is<br>copied from the sender to the shared area, and from then on, it will<br>be shared by all processes.</pre>
</blockquote>So that might explain the message passing speed (on a single node).<br><br>Cheers,<br>Davide :)<br></div></div>