<div dir="ltr">On Mon, Nov 11, 2013 at 4:02 PM, Jed Brown <span dir="ltr"><<a href="mailto:jedbrown@mcs.anl.gov" target="_blank">jedbrown@mcs.anl.gov</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">Matthew Knepley <<a href="mailto:knepley@gmail.com">knepley@gmail.com</a>> writes:<br>
> I rewrote insertion for DMLabel to use the hash table, and convert to flat<br>
> arrays after insertion. Now its all linear:<br>
<br>
</div>Nice.  Did you check how many hash operations per second this works out<br>
to?  Is this still the leading setup cost?<br>
</blockquote></div><br>I did not check, but it would be interesting to check 3D since that it 4 part keys. It by far</div><div class="gmail_extra">the leading cost in mesh setup, but matrix preallocation is 3x more expensive right now.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">   Matt</div><div class="gmail_extra"><div><br></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener
</div></div>