MétaCan
Menu
Back to cohort
Record W2109929425 · doi:10.82308/45910

Two-way hashing with separate chaining and linear probing

2004· article· en· W2109929425 on OpenAlexaff
Ebrahim Malalla

Bibliographic record

VenueeScholarship@McGill (McGill) · 2004
Typearticle
Languageen
FieldComputer Science
TopicAlgorithms and Data Compression
Canadian institutionsMcGill University
Fundersnot available
KeywordsChainingHash functionDynamic perfect hashingCombinatoricsHash tableK-independent hashingBounded functionMathematicsLinear hashingAsymptotically optimal algorithmPerfect hash functionDiscrete mathematicsBinary logarithmConstant (computer programming)Computer scienceDouble hashingAlgorithm

Abstract

fetched live from OpenAlex

Two-way chaining is a novel hashing scheme that uses two independent truly uniform hash functions f and g to insert m keys into a hash table with n chains, where each key x is inserted into the shortest chain among the chains f(x) and g( x), breaking ties randomly. It is known [13, 18] that the worst-case search time of two-way chaining is log2 log n + m/n + O(1), asymptotically almost surely. In this thesis, we study the two-way chaining paradigm under different assumptions. First, we generalize the result to nonuniform hash functions. We analyze two-way chaining in the fixed density model where the two independent hash functions behave according to two densities defined on the unit interval. When m = O(n), we prove that asymptotically almost surely, the worst-case search time is at least log2 log n - O(1). If, in addition, the densities are bounded, then it is at most log2 log n + O( m/n). Secondly, we consider the off-line version of two-way chaining where all the hashing values available for the m keys are known in advance. For constant k ~ N , we show that there is a threshold ck such that if m ≤ ckn, then one can assign the keys to the chains so that the maximum search time is at most 2k, asymptotically almost surely. We tightly estimate ck, and prove that it is, in fact, asymptotic to k. Algorithms for finding such assignments are also given. Thirdly, we utilize the two-way chaining paradigm to design efficient open addressing hashing schemes. We study two-way linear probing algorithms. These are algorithms that employ two independent linear probe sequences to hash the keys. We prove an O(log log n) universal lower bound on the worst-case search time of any two-way linear probing algorithm, where n is the hash table size. We show, however, that some simple two-way linear probing algorithms, unexpectedly, have implausible worst-case performances. Subsequently, we present several efficient two-way linear probing algorithms whose performance matches the lower bound. Simulations back up the theoretical results.

Fetched live from OpenAlex and de-inverted. Abstracts are not stored in this database: the inverted indexes are 8.6 GB of the frame’s 9.3 GB of text, and the host has 13 GB free.

How this classification was reachedexpand

Full frame machine prediction

Teacher imitation

Not calibrated prevalence, not ground truth. Human validation pending. The Gemma side is a direct model label for every work in the frame, read from the title-only record. The Codex side is a classifier learned from the 10,348 direct Codex labels and calibrated to design-weighted sample rates; fields without enough sample support carry no Codex call. Candidate is the union of the two sides; consensus is their intersection. These outputs are machine_predicted_unvalidated and are not human labels.

metaresearch head score (Codex)0.003
metaresearch head score (Gemma)0.016
Version: metacan-v3-hybrid-931329e0061cValidation status: machine_predicted_unvalidated
Candidate categoriesnone
Consensus categoriesnone
DomainCandidate signal: none · Consensus signal: none
Study designCandidate signal: Theoretical or conceptual · Consensus signal: none
GenreCandidate signal: Methods · Consensus signal: Methods
Teacher disagreement score0.004
Threshold uncertainty score0.017

Distilled classifier scores by category (both heads)

CategoryCodexGemma
Metaresearch0.0030.016
Meta-epidemiology (narrow)0.0010.001
Meta-epidemiology (broad)0.0020.001
Bibliometrics0.0010.002
Science and technology studies0.0010.003
Scholarly communication0.0020.010
Open science0.0040.008
Research integrity0.0020.002
Insufficient payload (model declined to judge)0.0030.001

Machine scores (provisional)

The two teacher heads of the student model, read on this work. A score orders the frame for review; it never asserts a category, and the validation status ships verbatim with every row.

Baseline scores from an immature model (maturity gate not passed, 7 training rounds). Scores rank; they never assert a category.

Opus teacher head0.018
GPT teacher head0.237
Teacher spread0.219 · how far apart the two teachers sit on this one work
Validation statusscore_only:v0-immature-baseline · verbatim from the scoring run: score_only means the number may rank works, and no category label ships from it

Classification

machine, unvalidated

Machine predicted; a candidate call from one source (direct Gemma or distilled Codex), not a consensus.

The models applied no category: nothing in the taxonomy fit this work.
Study designTheoretical or conceptual
Domainnot available
GenreMethods

How this classification was reached, model by model and score by score, is at the end of the page under "How this classification was reached".

Quick stats

Citations8
Published2004
Admission routes1
Has abstractyes

Explore more

Same venueeScholarship@McGill (McGill)Same topicAlgorithms and Data CompressionFrench-language works237,207