awesome-c icon indicating copy to clipboard operation
awesome-c copied to clipboard

proposal: add t1ha to the hashing section

Open erthink opened this issue 6 years ago • 5 comments
trafficstars

https://github.com/leo-yuriev/t1ha#t1ha

Briefly, it is a portable 64-bit hash function:

  • In most cases up to 15% faster than StadtX hash, xxHash, mum-hash, metro-hash, etc. and all others portable hash-functions (which do not use specific hardware tricks).
  • Intended for 64-bit little-endian platforms, predominantly for Elbrus and x86_64, but portable and without penalties it can run on any 64-bit CPU.
  • zlib License.

I can say that t1ha appeared as a result of searching for a compromise between quality and speed, at the same time taking into account the capabilities of modern processors and the already found methods (arithmetic-logical combinations) of mixing and spreading dependencies (avalanche effect).

erthink avatar Feb 03 '19 12:02 erthink

Woah, it already says "Included in the Awesome C list of open source C software."

That's one way of positive thinking

Bfgeshka avatar Feb 03 '19 12:02 Bfgeshka

@Bfgeshka It probably gives you the hash of the string you didn't input yet.

EvilPudding avatar Feb 03 '19 12:02 EvilPudding

oah, it already says "Included in the Awesome C list of open source C software."

That's one way of positive thinking

It it one more "awesome" list, i.e. https://github.com/kozross/awesome-c

erthink avatar Feb 03 '19 12:02 erthink

I didn't check, was just joking. I stand corrected.

EvilPudding avatar Feb 03 '19 16:02 EvilPudding

@leo-yuriev did you want to make the PR otherwise I will be more than willing to

sjfricke avatar Feb 04 '19 00:02 sjfricke