# Faster ES|QL stats with Swiss-style hash tables

DevFeed: [Faster ES|QL stats with Swiss-style hash tables](<https://devfeed.tech/articles/faster-es-ql-stats-with-swiss-style-hash-tables-78834.md>)

Original publisher: [Read original article](<https://www.elastic.co/search-labs/blog/esql-swiss-hash-stats>)

Author: Chris Hegarty,Matthew Alp,Nik Everett

Published: 2026-01-19T00:00:00Z

Content type: article

Language: en

Sources: [Elasticsearch Labs](<https://devfeed.tech/sources/elasticsearch-labs.md>)

Topics: [elasticsearch](<https://devfeed.tech/topics/elasticsearch.md>), [data-engineering](<https://devfeed.tech/topics/data-engineering.md>), [Cache](<https://devfeed.tech/topics/cache.md>), [hashing](<https://devfeed.tech/topics/hashing.md>)

Tags: [benchmarking](<https://devfeed.tech/tags/benchmarking.md>), [cardinality](<https://devfeed.tech/tags/cardinality.md>), [elasticsearch](<https://devfeed.tech/tags/elasticsearch.md>), [es-ql](<https://devfeed.tech/tags/es-ql.md>), [simd](<https://devfeed.tech/tags/simd.md>)

## AI overview

Elasticsearch adopted Swiss-style hash tables with SIMD-friendly control-byte scans to speed up ES|QL statistics and analytics. The change delivered up to 2-3x faster build and iteration times on uniform, high-cardinality workloads, with fewer cache references and cache misses. The article explains the design, integration with Elasticsearch memory management, and benchmark results.

## Source excerpt

How Swiss-inspired hashing and SIMD-friendly design deliver consistent, measurable speedups in Elasticsearch Query Language (ES|QL).