huynguyen-and-friend-projects / smoldb

Simple database in C
https://huynguyen-and-friend-projects.github.io/smoldb/
1 stars 3 forks source link

Radix tree (or normal trie) #22

Open nguyenhuy0905 opened 3 weeks ago

nguyenhuy0905 commented 3 weeks ago

What

Why did I choose a radix tree?

Implementation

Request by: Huy Nguyen

nguyenhuy0905 commented 2 weeks ago

Oh well, a stack-based tree is actually harder to visualize compared to a normal heap-based one using malloc and stuff. It would be nice had C got the keyword constexpr from C++.