高运算性能,低碰撞率的hash算法
redis已经使用了。spring导入redis有这个类,可以体验一下package redis.clients.util;
引用redis后直接可以使用
import redis.clients.util.MurmurHash;
MurmurHash hash = new MurmurHash();
整体感觉类似揉面团
切了很多面剂子,擀成面饼子,摞一起压实之后,继续和面。
如果整个面团揉成条状,不同位置的颜色不同,那么就有可能把面团切成面条,卷成面饼,压在一起,颜色已经很均匀了。
[En]
If the whole dough is kneaded into strips, the colors in different positions are different, then it is possible that the dough is cut into noodles, rolled into flour cakes, compacted together, and the color is already very uniform.