<div dir="ltr">@Jonas, we target such a range of platforms this who area must be 'C' and work with some pretty archaic compilers… But using the compile-time constants would make everything a lot more readable and maintainable. Great idea…<div>
<br></div><div>Mat</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Dec 5, 2013 at 1:02 AM, Jonas Wielicki <span dir="ltr"><<a href="mailto:xmpp-dev@sotecware.net" target="_blank">xmpp-dev@sotecware.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 05.12.2013 09:54, Dave Cridland wrote:<br>
> That's a neat idea - I was intending to add in attribute hashing in order<br>
> to handle the well-formedness constraints (and also optimize attribute<br>
> searches in general), but I'd not thought about compile-time precalculation<br>
> of hashes, that's terribly clever, and an idea I'll shamelessly steal.<br>
> FWIW, I was also going to build a simplistic single-hash Bloom on parse to<br>
> elide some searches, too.<br>
<br>
</div>That just calls for C++11 compile-time constant expressions. If you ask me.<br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
JDev mailing list<br>
Info: <a href="http://mail.jabber.org/mailman/listinfo/jdev" target="_blank">http://mail.jabber.org/mailman/listinfo/jdev</a><br>
Unsubscribe: <a href="mailto:JDev-unsubscribe@jabber.org">JDev-unsubscribe@jabber.org</a><br>
_______________________________________________<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><br>Mat Henshall<br>Founder and CEO, Square Connect, Inc.<br>San Jose, CA<br><a href="http://www.squareconnect.com" target="_blank">www.squareconnect.com</a><br>
cell: 650.814.7585
</div>