Re: [release] Boost 1.88.0
Ivan Matek via Boost-users <[email protected]> Fri, 11 Apr 2025 20:47:22 +0200
| Newsgroups | gmane.comp.lib.boost.user |
|---|---|
| Message-ID | <CAB=+0+M-Kw5c9kRJ68ki9=4wkaEYZCckPyBm9JK0L=8sjwFAJg@mail.gmail.com> |
--===============6203775031008658783== Content-Type: multipart/alternative; boundary="000000000000a5053806328522bb" --000000000000a5053806328522bb Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Not an author, so these are just my best guesses On Fri, Apr 11, 2025 at 8:13=E2=80=AFPM Marek K=C3=BCthe via Boost-users < [email protected]> wrote: > Hello, > > I have two questions about the Boost.Hash2 library: > 1. Which xxHash algorithm is implemented exactly (I somehow couldn't see > this in the documentation). As far as I know there are four: XXH32, > XXH64, XXH3_64bits and XXH3_128bits [1]. Boost.Hash2 implements > xxhash_32 and xxhash_64, but is this the old xxHash version (XXH32, > XXH64) or the new xxHash version 3 (XXH3_64bits, XXH3_128bits)? > https://github.com/boostorg/hash2/blob/14a374ea904cf7a58cfef65e11d1de067fe0= dd82/test/xxhash_2.cpp#L44C59-L44C80 matching https://github.com/Cyan4973/xxHash/blob/dd11140c2dc5d53a3c0a949d67af7f40f54= 6878e/cli/xsum_sanity_check.c#L113 Seems to suggest that 64bit hash is XXH64. > 2. Is there a specific reason why the old cstdio library and not > iostream/fstream from C++ is used in the examples [2]? > I think there is no reason. --000000000000a5053806328522bb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>Not an author, so these are just my best guesses</div= ><br><div class=3D"gmail_quote gmail_quote_container"><div dir=3D"ltr" clas= s=3D"gmail_attr">On Fri, Apr 11, 2025 at 8:13=E2=80=AFPM Marek K=C3=BCthe v= ia Boost-users <<a href=3D"mailto:[email protected]">boost-use= [email protected]</a>> wrote:<br></div><blockquote class=3D"gmail_quote= " style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);= padding-left:1ex">Hello,<br> <br> I have two questions about the Boost.Hash2 library:<br> 1. Which xxHash algorithm is implemented exactly (I somehow couldn't se= e<br> this in the documentation). As far as I know there are four: XXH32,<br> XXH64, XXH3_64bits and XXH3_128bits [1]. Boost.Hash2 implements<br> xxhash_32 and xxhash_64, but is this the old xxHash version (XXH32,<br> XXH64) or the new xxHash version 3 (XXH3_64bits, XXH3_128bits)?<br></blockq= uote><div>=C2=A0</div><div><a href=3D"https://github.com/boostorg/hash2/blo= b/14a374ea904cf7a58cfef65e11d1de067fe0dd82/test/xxhash_2.cpp#L44C59-L44C80"= >https://github.com/boostorg/hash2/blob/14a374ea904cf7a58cfef65e11d1de067fe= 0dd82/test/xxhash_2.cpp#L44C59-L44C80</a></div><div>matching=C2=A0</div><di= v><a href=3D"https://github.com/Cyan4973/xxHash/blob/dd11140c2dc5d53a3c0a94= 9d67af7f40f546878e/cli/xsum_sanity_check.c#L113">https://github.com/Cyan497= 3/xxHash/blob/dd11140c2dc5d53a3c0a949d67af7f40f546878e/cli/xsum_sanity_chec= k.c#L113</a></div><div>Seems to suggest that 64bit hash is=C2=A0XXH64.</div= ><div><br></div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D= "margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-le= ft:1ex"> 2. Is there a specific reason why the old cstdio library and not<br> iostream/fstream from C++ is used in the examples [2]?<br></blockquote><div= ><br></div><div>I think there is no reason.</div><div>=C2=A0</div></div></d= iv> --000000000000a5053806328522bb-- --===============6203775031008658783== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Boost-users mailing list [email protected] https://lists.boost.org/mailman/listinfo.cgi/boost-users --===============6203775031008658783==--