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

65 papers

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.PL2021★ 2 cited

Unicode at Gigabytes per Second

Daniel Lemire

We often represent text using Unicode formats (UTF-8 and UTF-16). The UTF-8 format is increasingly popular, especially on the web (XML, HTML, JSON, Rust, Go, Swift, Ruby). The UTF-…

cs.DC2021

Transcoding Billions of Unicode Characters per Second with SIMD Instructions

Daniel Lemire, Wojciech Muła

In software, text is often represented using Unicode formats (UTF-8 and UTF-16). We frequently have to convert text from one format to the other, a process called transcoding. Popu…

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.DB2020★ 8 cited

Validating UTF-8 In Less Than One Instruction Per Byte

John Keiser, Daniel Lemire

The majority of text is stored in UTF-8, which must be validated on ingestion. We present the lookup algorithm, which outperforms UTF-8 validation routines used in many libraries a…

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.DC2019★ 13 cited

Base64 encoding and decoding at almost the speed of a memory copy

Wojciech Muła, Daniel Lemire

Many common document formats on the Internet are text-only such as email (MIME) and the Web (HTML, JavaScript, JSON and XML). To include images or executable code in these document…

cs.DB2019★ 72 cited

Parsing Gigabytes of JSON per Second

Geoff Langdale, Daniel Lemire

JavaScript Object Notation or JSON is a ubiquitous data exchange format on the Web. Ingesting JSON documents can become a performance bottleneck due to the sheer volume of data. We…

cs.MS2019★ 20 cited

Faster Remainder by Direct Computation: Applications to Compilers and Software Libraries

Daniel Lemire, Owen Kaser, Nathan Kurz

On common processors, integer multiplication is many times faster than integer division. Dividing a numerator n by a divisor d is mathematically equivalent to multiplication by the…

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.DB2018★ 156 cited

Apache Calcite: A Foundational Framework for Optimized Query Processing Over Heterogeneous Data Sources

Edmon Begoli, Jesús Camacho Rodríguez, Julian Hyde +2

Apache Calcite is a foundational software framework that provides query processing, optimization, and query language support to many popular open-source data processing systems suc…

cs.IR2017★ 51 cited

Stream VByte: Faster Byte-Oriented Integer Compression

Daniel Lemire, Nathan Kurz, Christoph Rupp

Arrays of integers are often compressed in search engines. Though there are many ways to compress integers, we are interested in the popular byte-oriented integer compression techn…

cs.DB2017★ 50 cited

Roaring Bitmaps: Implementation of an Optimized Software Library

Daniel Lemire, Owen Kaser, Nathan Kurz +4

Compressed bitmap indexes are used in systems such as Git or Oracle to accelerate queries. They represent sets and often support operations such as unions, intersections, differenc…

cs.DB2017

On Desirable Semantics of Functional Dependencies over Databases with Incomplete Information

Antonio Badia, Daniel Lemire

Codd's relational model describes just one possible world. To better cope with incomplete information, extended database models allow several possible worlds. Vague tables are one…

cs.MS2017★ 18 cited

Faster Base64 Encoding and Decoding Using AVX2 Instructions

Wojciech Muła, Daniel Lemire

Web developers use base64 formats to include images, fonts, sounds and other resources directly inside HTML, JavaScript, JSON and XML files. We estimate that billions of base64 mes…

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.DB2016★ 7 cited

Upscaledb: Efficient Integer-Key Compression in a Key-Value Store using SIMD Instructions

Daniel Lemire, Christoph Rupp

Compression can sometimes improve performance by making more of the data available to the processors faster. We consider the compression of integer keys in a B+-tree index. For thi…

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…