navigator.sendBeacon

简介 方法的作用是对某个url发送POST请求, 不阻塞业务代码, 请求会加入到浏览器队列, 由浏览器自主调度进行发送.

Read More

常见哈希算法(Hash Function)

清单 crc32 / crc64 fnv-1 / fnv-1a djb2 / djb2a alias time33 cityhash by Google java hash murmur2 / murmur3 by Google FarmHash by Google One at a Time by Jenkins lookup3 SipHash Fast Hash SuperFastHash xxHash Benchmark Hash functions: An empirical comparison 参考资料 Which hashing algorithm is best for uniqueness and speed?

Read More