中文
相关论文

相关论文: Efficient Hashing with Lookups in two Memory Acces…

200 篇论文

Most existing approaches to hashing apply a single form of hash function, and an optimization process which is typically deeply coupled to this specific form. This tight coupling restricts the flexibility of the method to respond to the…

机器学习 · 计算机科学 2013-09-10 Guosheng Lin , Chunhua Shen , David Suter , Anton van den Hengel

We present jump consistent hash, a fast, minimal memory, consistent hash algorithm that can be expressed in about 5 lines of code. In comparison to the algorithm of Karger et al., jump consistent hash requires no storage, is faster, and…

数据结构与算法 · 计算机科学 2014-06-10 John Lamping , Eric Veach

With double hashing, for a key $x$, one generates two hash values $f(x)$ and $g(x)$, and then uses combinations $(f(x) +i g(x)) \bmod n$ for $i=0,1,2,...$ to generate multiple hash values in the range $[0,n-1]$ from the initial two. For…

数据结构与算法 · 计算机科学 2015-03-03 Michael Mitzenmacher

We describe a consistent hashing algorithm which performs multiple lookups per key in a hash table of nodes. It requires no additional storage beyond the hash table, and achieves a peak-to-average load ratio of 1 + epsilon with just 1 +…

数据结构与算法 · 计算机科学 2015-05-04 Ben Appleton , Michael O'Reilly

We study the long-term behavior of the two-thinning variant of the classical balls-and-bins model. In this model, an overseer is provided with uniform random allocation of $m$ balls into $n$ bins in an on-line fashion. For each ball, the…

概率论 · 数学 2024-03-11 Ohad N. Feldheim , Ori Gurel-Gurevich , Jiange Li

Randomized algorithms and data structures are often analyzed under the assumption of access to a perfect source of randomness. The most fundamental metric used to measure how "random" a hash function or a random number generator is, is its…

数据结构与算法 · 计算机科学 2015-02-23 Mathias Bæk Tejs Knudsen , Morten Stöckel

Cuckoo hashing with a stash is a robust multiple choice hashing scheme with high memory utilization that can be used in many network device applications. Unfortunately, for memory loads beyond 0.5, little is known on its performance. In…

数据结构与算法 · 计算机科学 2011-08-10 Yossi Kanizo , David Hay , Isaac Keslassy

In Linear Hashing ($\mathsf{LH}$) with $\beta$ bins on a size $u$ universe ${\mathcal{U}=\{0,1,\ldots, u-1\}}$, items $\{x_1,x_2,\ldots, x_n\}\subset \mathcal{U}$ are placed in bins by the hash function $$x_i\mapsto (ax_i+b)\mod p \mod…

数据结构与算法 · 计算机科学 2024-05-21 Alek Westover

Hash tables are ubiquitous in computer science for efficient access to large datasets. However, there is always a need for approaches that offer compact memory utilisation without substantial degradation of lookup performance. Cuckoo…

数据结构与算法 · 计算机科学 2019-07-17 Megha Khosla , Avishek Anand

In the classical balls-and-bins paradigm, where $n$ balls are placed independently and uniformly in $n$ bins, typically the number of bins with at least two balls in them is $\Theta(n)$ and the maximum number of balls in a bin is…

组合数学 · 数学 2010-10-22 Noga Alon , Ori Gurel-Gurevich , Eyal Lubetzky

We consider the sequential allocation of $m$ balls (jobs) into $n$ bins (servers) by allowing each ball to choose from some bins sampled uniformly at random. The goal is to maintain a small gap between the maximum load and the average load.…

离散数学 · 计算机科学 2023-08-11 Dimitrios Los , Thomas Sauerwald , John Sylvester

Given a set $S$ of $n$ keys, a perfect hash function for $S$ maps the keys in $S$ to the first $m \geq n$ integers without collisions. It may return an arbitrary result for any key not in $S$ and is called minimal if $m = n$. The most…

数据结构与算法 · 计算机科学 2026-02-06 Hans-Peter Lehmann , Thomas Mueller , Rasmus Pagh , Giulio Ermanno Pibiri , Peter Sanders , Sebastiano Vigna , Stefan Walzer

In balanced allocations, the goal is to place $m$ balls into $n$ bins, so as to minimize the gap (difference of max to average load). The One-Choice process places each ball to a bin sampled independently and uniformly at random. The…

离散数学 · 计算机科学 2023-04-24 Dimitrios Los , Thomas Sauerwald

We introduce a new class of balanced allocation processes which are primarily characterized by ``filling'' underloaded bins. A prototypical example is the Packing process: At each round we only take one bin sample, if the load is below the…

离散数学 · 计算机科学 2026-02-19 Dimitrios Los , Thomas Sauerwald , John Sylvester

Due to its low storage cost and fast query speed, hashing has been widely used in large-scale image retrieval tasks. Hash bucket search returns data points within a given Hamming radius to each query, which can enable search at a constant…

机器学习 · 计算机科学 2024-05-07 Ming-Wei Li , Qing-Yuan Jiang , Wu-Jun Li

Given a specified average load factor, hash tables offer the appeal of constant time lookup operations. However, hash tables could face severe hash collisions because of malicious attacks, buggy applications, or even bursts of incoming…

分布式、并行与集群计算 · 计算机科学 2020-06-02 Junchang Wang , Xiong Fu , Fu Xiao , Chen Tian

We study parallel algorithms for the classical balls-into-bins problem, in which $m$ balls acting in parallel as separate agents are placed into $n$ bins. Algorithms operate in synchronous rounds, in each of which balls and bins exchange…

分布式、并行与集群计算 · 计算机科学 2019-04-17 Christoph Lenzen , Merav Parter , Eylon Yogev

Let $n$ denote the number of elements currently in a data structure. An in-place heap is stored in the first $n$ locations of an array, uses $O(1)$ extra space, and supports the operations: minimum, insert, and extract-min. We introduce an…

数据结构与算法 · 计算机科学 2014-07-15 Stefan Edelkamp , Jyrki Katajainen , Amr Elmasry

Despite being one of the oldest data structures in computer science, hash tables continue to be the focus of a great deal of both theoretical and empirical research. A central reason for this is that many of the fundamental properties that…

数据结构与算法 · 计算机科学 2023-10-24 Michael A. Bender , Alex Conway , Martín Farach-Colton , William Kuszmaul , Guido Tagliavini

We introduce linear probing hashing schemes that construct a hash table of size $n$, with constant load factor $\alpha$, on which the worst-case unsuccessful search time is asymptotically almost surely $O(\log \log n)$. The schemes employ…

数据结构与算法 · 计算机科学 2023-09-20 Ketan Dalal , Luc Devroye , Ebrahim Malalla