Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
Flags
safe-html, strict-same
Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
When looking for an element with hash value _h_, SIMD technologies such as当查找一个哈希值为 _h_ 的元素时,可以使用诸如 https://en.wikipedia.org/wiki/SSE2[SSE2]and和 https://en.wikipedia.org/wiki/ARM_architecture_family#Advanced_SIMD_(Neon)[Neon]allow us to very quickly inspect the full metadata word and look for the reduced value of _h_ among all the 15 buckets with just a handful of CPU instructions: non-matching buckets can be readily discarded, and those whose reduced hash value matches need be inspected via full comparison with the corresponding element. If the looked-for element is not present, the overflow byte is inspected:等 SIMD 技术,仅需少量 CPU 指令即可快速检查完整的元数据字,并在全部 15 个桶中寻找 _h_ 的缩减值:不匹配的桶可以迅速丢弃,而那些缩减哈希值匹配的桶则需要通过与对应元素的完整比较来进行检查。如果未找到目标元素,则检查溢出字节。