Arriqaaq Newsletter

Share this post

ART: Building a Prefix Search Trie in Go

arriqaaq.substack.com

ART: Building a Prefix Search Trie in Go

Farhan
Feb 16, 2023
∙ Paid
Share this post

ART: Building a Prefix Search Trie in Go

arriqaaq.substack.com
Share

Have you ever wondered how search queries in databases work so fast? Indexes you may say. And how do indexes work under the hood? Trees (Tries) you affirm.

TLDR, ART increased performance of my database 2x when compared to a skiplist. The code for an Adaptive Radix Trie (ART) implemented by me is below.

GitHubarriqaaq

The Need

I was in search of a data stru…

This post is for paid subscribers

Already a paid subscriber? Sign in
Previous
Next
© 2023 Farhan
Privacy ∙ Terms ∙ Collection notice
Start WritingGet the app
Substack is the home for great writing