[libcxx-commits] [PATCH] D134124: [libc++] Fix wrong implementation of CityHash

Tommy Chiang via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Sep 19 09:32:23 PDT 2022


oToToT added a comment.

> I'm not familiar with this code, but I find it concerning that the change causes no tests to fail.

For the tests, it's also possible to add some hash quality tests.
To my knowledge, most of the hash algorithms would provide some kind of hash quality test to convince the user of its quality.
For example, CityHash and FarmHash both use SMHasher to ensure quality. (though it's also not actively maintained now)
Therefore, we can add the referenced test once we decided the algorithm.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D134124/new/

https://reviews.llvm.org/D134124



More information about the libcxx-commits mailing list