Fast Set Intersection in Memory
Fast Set Intersection in Memory
复制标题
DOI:
10.14778/1938545.1938550
复制
发表时间:
2011-03
期刊:
影响因子:
--
通讯作者:
Bolin Ding;A. König
中科院分区:
文献类型:
--
作者:
Bolin Ding;A. König
Set intersection is a fundamental operation in information retrieval and database systems. This paper introduces linear space data structures to represent sets such that their intersection can be computed in a worst-case efficient way. In general, given k (preprocessed) sets, with totally n elements, we will show how to compute their intersection in expected time [EQUATION], where r is the intersection size and w is the number of bits in a machine-word. In addition, we introduce a very simple version of this algorithm that has weaker asymptotic guarantees but performs even better in practice; both algorithms outperform the state of the art techniques for both synthetic and real data sets and workloads.