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   ·   2428 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 16ms · UTC 16:01 · PVG 00:01 · LAX 09:01 · JFK 12:01
♥ Do have faith in what you're doing.