<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><span style="font-family:arial,sans-serif">On Thu, Mar 2, 2017 at 4:10 PM, Dave Täht </span><span dir="ltr" style="font-family:arial,sans-serif"><<a href="mailto:dave@taht.net" target="_blank">dave@taht.net</a>></span><span style="font-family:arial,sans-serif"> wrote:</span><br></div><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">As for speeding up hashing, I've been looking over various algorithms to<br>
do that for years now, I'm open to suggestions. The fastest new ones<br>
tend to depend on co-processor support. The fastest I've seen relies on<br>
the CRC32 instruction which is only in some intel platforms.<br></blockquote><div><br></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">This is an area where I have a fair amount of experience...</div><br></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">What are the requirements for this hashing function?</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">- How much data is being hashed? I am guessing a limited number of bytes rather than an entire packet payload.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">- What is the typical number of hash table buckets? Is it prime or a power of 2?</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">/john</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div></div></div>
</div></div>