Jack_who_built_the_house added a comment.

Hi @hoo, we've been implementing the functionality mentioned in the task description, namely generating unique reference names for references created from Wikidata (and solving some adjacent problems), in ruwiki (after T175725: Deploy HTML5 sections to WMF production was done for ruwiki and some things broke). Do you have any thoughts on which algorithm is better suited for generating hash values for references? I've done my modest research and stopped at fnv164 as it is fast, and 64-bit hash reduces collision probability to a negligibly small value. But maybe I am missing something.

The choice hash_algos() gives is the following:

"adler32", "crc32", "crc32b", "fnv132", "fnv164", "fnv1a32", "fnv1a64", "gost", "haval128,3", "haval128,4", "haval128,5", "haval160,3", "haval160,4", "haval160,5", "haval192,3", "haval192,4", "haval192,5", "haval224,3", "haval224,4", "haval224,5", "haval256,3", "haval256,4", "haval256,5", "joaat", "md2", "md4", "md5", "ripemd128", "ripemd160", "ripemd256", "ripemd320", "sha1", "sha224", "sha256", "sha3-224", "sha3-256", "sha3-384", "sha3-512", "sha384", "sha512", "snefru", "tiger128,3", "tiger128,4", "tiger160,3", "tiger160,4", "tiger192,3", "tiger192,4", "whirlpool"

TASK DETAIL
https://phabricator.wikimedia.org/T142585

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: hoo, Jack_who_built_the_house
Cc: Jack_who_built_the_house, gerritbot, Lucie, Anomie, Aklapper, hoo, Lahi, GoranSMilovanovic, QZanden, cmadeo, SundanceRaphael, MGChecker, Wikidata-bugs, aude, Dinoguy1000, jayvdb, Ricordisamoa, MrStradivarius, Jackmcbarn, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to