2011 · 58 citations · 12 references
ComputingComputer ScienceComputer SystemsAlgorithmsCompilersData StructuresData ParallelismParallel SortingSorting AlgorithmsIntersection ComputationIntersection QueriesSet Intersection AnalysisSimd ArchitecturesSimd Execution
In this paper, we focus on sorted-set intersection which is an important part in many algorithms, e.g., RID-list intersection, inverted indexes, and others. In contrast to traditional scalar sorted-set intersection algorithms that try to reduce the number of comparisons, we propose a parallel algorithm that relies on speculative execution of comparisons. In general, our algorithm requires more comparisons but less instructions than scalar algorithms that translates into a better overall speed. We achieve this by utilizing efficient single-instruction-multiple-data (SIMD) instructions that are available in many processors. We provide different sorted-set intersection algorithms for different integer data types. We propose versions that use uncompressed integer values as input and output as well as a version that uses a tailor-made data layout for even faster intersections. In our experiments, we achieve speedups up to 5.3x compared to popular fast scalar algorithms. 1.
12
New algorithms for fast discovery of association rules
Mohammed J. Zaki, Srinivasan Parthasarathy, Mitsunori Ogihara et al. · 1997 · 1.1K citations
Mark R. Brown, Robert E. Tarjan · Journal of the ACM · 1979 · 98 citations · Full text
Fast set intersection in memory
Bolin Ding, Arnd Christian König · Proceedings of the VLDB Endowment · 2011 · 94 citations