Join Nostr
2026-03-28 21:54:26 UTC

知空 (Shia) :blobcatflipped: on Nostr: Ok, who remembers me saying I figured out how to implement the B+ tree? Well, turns ...

Ok, who remembers me saying I figured out how to implement the B+ tree?

Well, turns out, I lied. :blobcatgooglyholdingitsheadinitshands:

It took me another week, and a lot of LLM usage to get it to work....

There doesn't seem to be any decent reference on it...

There are a couple of implementations, but those are either, over complicated, or they don't explain anything...

And everyone uses different variables. Ones base the order of the tree in the maximum amount of children, others on the minimum amount of keys...


And then, you can implement it bottom up, or top down....


It's a mess...:blobcatverysad:

I'm considering writing some kind of blog post on it, trying to understand it better.

Maybe someone knows some resources I couldn't find…