activity
20062023
most citedDecoding billions of integers per second through vectorization

232 citations · 2.4k across the 65 of their papers we have counts for

collaborators
Showing cs.DSShow all

16 papers · 1 filter

cs.DS2023

Exact Short Products From Truncated Multipliers

Daniel Lemire

We sometimes need to compute the most significant digits of the product of small integers with a multiplier requiring much storage: e.g., a large integer (e.g., ) or an ir…

cs.DS2022★ 1 cited

Fast Number Parsing Without Fallback

Noble Mushtak, Daniel Lemire

In recent work, Lemire (2021) presented a fast algorithm to convert number strings into binary floating-point numbers. The algorithm has been adopted by several important systems:…

cs.DS2022★ 1 cited

Transcoding Unicode Characters with AVX-512 Instructions

Robert Clausecker, Daniel Lemire

Intel includes in its recent processors a powerful set of instructions capable of processing 512-bit registers with a single instruction (AVX-512). Some of these instructions have…

cs.DS2022★ 28 cited

Binary Fuse Filters: Fast and Smaller Than Xor Filters

Thomas Mueller Graf, Daniel Lemire

Bloom and cuckoo filters provide fast approximate set membership while using little memory. Engineers use them to avoid expensive disk and network accesses. The recently introduced…

cs.DS2021★ 13 cited

Number Parsing at a Gigabyte per Second

Daniel Lemire

With disks and networks providing gigabytes per second, parsing decimal numbers from strings becomes a bottleneck. We consider the problem of parsing decimal numbers to the nearest…

cs.DS2020★ 4 cited

Integer Division by Constants: Optimal Bounds

Daniel Lemire, Colin Bartlett, Owen Kaser

The integer division of a numerator n by a divisor d gives a quotient q and a remainder r. Optimizing compilers accelerate software by replacing the division of n by d with the div…

cs.DS2020★ 121 cited

Xor Filters: Faster and Smaller Than Bloom and Cuckoo Filters

Thomas Mueller Graf, Daniel Lemire

The Bloom filter provides fast approximate set membership while using little memory. Engineers often use these filters to avoid slow operations such as disk or network accesses. As…

cs.DS2019★ 1 cited

Efficient Computation of Positional Population Counts Using SIMD Instructions

Marcus D. R. Klarqvist, Wojciech Muła, Daniel Lemire

In several fields such as statistics, machine learning, and bioinformatics, categorical variables are frequently represented as one-hot encoded vectors. For example, given 8 distin…

cs.DS2018★ 14 cited

Xorshift1024*, Xorshift1024+, Xorshift128+ and Xoroshiro128+ Fail Statistical Tests for Linearity

Daniel Lemire, Melissa E. O'Neill

L'Ecuyer & Simard's Big Crush statistical test suite has revealed statistical flaws in many popular random number generators including Marsaglia's Xorshift generators. Vigna recent…

cs.DS2018★ 51 cited

Fast Random Integer Generation in an Interval

Daniel Lemire

In simulations, probabilistic algorithms and statistical tests, we often generate random integers in an interval (e.g., [0,s)). For example, random integers in an interval are esse…

cs.DS2016★ 60 cited

Faster Population Counts Using AVX2 Instructions

Wojciech Muła, Nathan Kurz, Daniel Lemire

Counting the number of ones in a binary stream is a common operation in database, information-retrieval, cryptographic and machine-learning applications. Most processors have dedic…

cs.DS2016★ 3 cited

Regular and almost universal hashing: an efficient implementation

Dmytro Ivanchykhin, Sergey Ignatchenko, Daniel Lemire

Random hashing can provide guarantees regarding the performance of data structures such as hash tables---even in an adversarial setting. Many existing families of hash functions ar…

cs.DS2015★ 27 cited

Faster 64-bit universal hashing using carry-less multiplications

Daniel Lemire, Owen Kaser

Intel and AMD support the Carry-less Multiplication (CLMUL) instruction set in their x64 processors. We use CLMUL to implement an almost universal 64-bit hash family (CLHASH). We c…

cs.DS2007★ 192 cited

Tag-Cloud Drawing: Algorithms for Cloud Visualization

Owen Kaser, Daniel Lemire

Tag clouds provide an aggregate of tag-usage statistics. They are typically sent as in-line HTML to browsers. However, display mechanisms suited for ordinary text are not ideal for…

cs.DS2006

Hierarchical Bin Buffering: Online Local Moments for Dynamic External Memory Arrays

Daniel Lemire, Owen Kaser

Local moments are used for local regression, to compute statistical measures such as sums, averages, and standard deviations, and to approximate probability distributions. We consi…

cs.DS2006★ 61 cited

Streaming Maximum-Minimum Filter Using No More than Three Comparisons per Element

Daniel Lemire

The running maximum-minimum (max-min) filter computes the maxima and minima over running windows of size w. This filter has numerous applications in signal processing and time seri…