Blogs / Personal blogs

Peter Horne-Khan

peter.horne-khan.com

A software developer living in London, UK. Writing about programming languages, data structures, and similar topics.

Popular posts
1
Total points
190
HN comments
15
Rank
#13,265 personal

Visit peter.horne-khan.com → On Hacker News Feb 2025 – Feb 2025

Software Engineering 1Math & Algorithms 1

1

Relaxed Radix Balanced Trees (2024)

I’m adding immutable vectors to my language, Ivan, and needed to pick a suitable data structure to implement them. Clojure uses Persistent Vectors (PVs) which support lookups, updates, and appends all in ‘effectively’ constant time. However, it doesn’t have efficient insert or merge operations. Relaxed Radix Balanced…