<div dir="ltr">Updated.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 20, 2015 at 9:33 PM, Poul-Henning Kamp <span dir="ltr"><<a href="mailto:phk@phk.freebsd.dk" target="_blank">phk@phk.freebsd.dk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">--------<br>
In message <<a href="mailto:CAJV_h0bcyLOktmbeg8xm35Z3ep_LrMWK4sMdYVuUHn-NnM5qaw@mail.gmail.com">CAJV_h0bcyLOktmbeg8xm35Z3ep_LrMWK4sMdYVuUHn-NnM5qaw@mail.gmail.com</a>><br>
<span class="">, Federico Schwindt writes:<br>
<br>
>Duh! New diff attached. Documentation and tests remaining. Something like<br>
>this?<br>
<br>
</span>I would prefer to put it in vmod_std, rather than special-case<br>
it in VCC...<br>
<span class=""><br>
>Should we keep hash_data() or rename it to hash_string() or something<br>
>similar?<br>
<br>
</span>I would just leave that alone, and add std.hash_blob() for the special<br>
use-cases.<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20<br>
phk@FreeBSD.ORG | TCP/IP since RFC 956<br>
FreeBSD committer | BSD since 4.3-tahoe<br>
Never attribute to malice what can adequately be explained by incompetence.<br>
</div></div></blockquote></div><br></div>