Author Topic: Using xxHash  (Read 1853 times)

Offline artifex

  • Newbie
  • *
  • Posts: 16
Using xxHash
« on: September 18, 2018, 09:06:50 PM »
Just found xxHash and thinking it would be great to use in TOSEC as an additional checksum value. Looks incredibly fast which is fine on big sets. Implemented already for a bunch of languages.

xxHash homepage



Offline Maddog

  • Global Moderator
  • Full Member
  • *****
  • Posts: 199
Re: Using xxHash
« Reply #1 on: October 11, 2018, 08:10:02 PM »
Not much point in adding an additional hash value. The ones we use in combination (CRC/MD5/SHA1) do the job quite well and have been doing so over the years.
In addition, the ROM auditing tools that use the dats (ClrMAME Pro and Romvault mostly) do not support this xxHash thing, so it wouldn't be of much use even if it was added.

Offline artifex

  • Newbie
  • *
  • Posts: 16
Re: Using xxHash
« Reply #2 on: October 17, 2018, 07:28:41 PM »
thanks for your answer maddog. xxhash is not better as a hash algorithm just much much faster than others. rehashing a full set is very time consuming and that is where xxhash might help. i mention the huge number of already exist implementation is to pointing that is makes easy to adding to different manager applications, or to the hasher itself using by renamers. but it was just an idea.

Offline Maddog

  • Global Moderator
  • Full Member
  • *****
  • Posts: 199
Re: Using xxHash
« Reply #3 on: October 17, 2018, 08:45:17 PM »
If this algorithm gains traction, it would make sense to lobby the creators of ClrMAME Pro and RomVault to add support for it.
If they do, I see no reason why we can't use it as well.