On Wed, Feb 20, 2013 at 3:17 PM, Kaspar Schleiser <span dir="ltr"><<a href="mailto:kaspar@schleiser.de" target="_blank">kaspar@schleiser.de</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Did you do any benchmarks?</blockquote><div><br></div><div>Okie dokie, benchmark time! 2012 Intel Core i7, gcc 4.7.2.</div><div><br></div><div>With gcc's -O3:</div><div><br></div><div><div>zx2c4@thinkpad ~/Projects/domain-lookup-tree $ ./benchmark </div>
<div>New method took 0.430000 seconds.</div><div>Old method took 2.750000 seconds.</div></div><div><br></div><div><br></div><div>Without -O3:</div><div><br></div><div><div>zx2c4@thinkpad ~/Projects/domain-lookup-tree $ ./benchmark </div>
<div>New method took 0.410000 seconds.</div><div>Old method took 325.940000 seconds.</div></div><div><br></div><div><br></div><div>Benchmarking code is in previously linked git repository.</div></div>