yeguxin's recent timeline updates
yeguxin

yeguxin

V2EX member #448941, joined on 2019-10-24 17:34:39 +08:00
yeguxin's recent replies
Mar 19, 2021
Replied to a topic by Rocketer 程序员 求个尽量均匀的分区算法
首先查询的场景多不多,如果只是考虑单纯的均匀度合适问题要不要考虑 HashMap 处理 key 落到具体的桶的算法?
(h = key.hashCode()) ^ (h >>> 16) 通过高低位扰动来提高随机性。
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   987 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 18ms · UTC 18:36 · PVG 02:36 · LAX 11:36 · JFK 14:36
♥ Do have faith in what you're doing.