Skip to content

Skip record decoding in read_mmdb() if fields are not used#14

Merged
marselester merged 1 commit into
mainfrom
skip-decoding
Mar 12, 2026
Merged

Skip record decoding in read_mmdb() if fields are not used#14
marselester merged 1 commit into
mainfrom
skip-decoding

Conversation

@marselester

Copy link
Copy Markdown
Owner

Queries such as "SELECT network" and "SELECT count(*)" don't actually need records to be decoded, so we can get x3.5 speed up (measured on GeoLite2-City ~5.5M rows).

Queries such as "SELECT network" and "SELECT count(*)" don't
actually need records to be decoded, so we can get x3.5 speed up
(measured on GeoLite2-City ~5.5M rows).
@marselester
marselester merged commit a8da94a into main Mar 12, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant