You've got somewhat strange arithmetic rules :)<br><br>Best regards,<br>Kirill.<br><br><div><span class="gmail_quote">On 9/20/07, <b class="gmail_sendername">David Hopwood</b> <<a href="mailto:david.hopwood@industrial-designers.co.uk">
david.hopwood@industrial-designers.co.uk</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Dmitrii 'Mamut' Dimandt wrote:
<br>> I've received a question over at "Erlang in Russian" forum,<br>> <a href="http://erlang.dmitriid.com/forum/topic/11">http://erlang.dmitriid.com/forum/topic/11</a> that reads:<br>> "<br>> I need to process a huge array of structures - about 60 million of them
<br>> in total. Each structure looks like this:  {PID, type (atom), direct<br>> (atom), index (Integer), nextind (Integer), prevind (Integer), position<br>> (Integer)}. I think such a structure would take up about 50 bytes and
<br>> the entire array would then need 60 * 50 = 3 GB.<br><br>60 million * 50 bytes ~= 300 Mbytes. But that assumes that only one<br>immutable copy of each of the 60 million structures is needed.<br><br>--<br>David Hopwood <
<a href="mailto:david.hopwood@industrial-designers.co.uk">david.hopwood@industrial-designers.co.uk</a>><br><br>_______________________________________________<br>erlang-questions mailing list<br><a href="mailto:erlang-questions@erlang.org">
erlang-questions@erlang.org</a><br><a href="http://www.erlang.org/mailman/listinfo/erlang-questions">http://www.erlang.org/mailman/listinfo/erlang-questions</a><br></blockquote></div><br>