Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
MadVikingGod
· 5y ago · 0 comments
In a traditional tree you just store a bunch of y's. So let's say 7 points are just y0-y6. In a tree you would need at least 7 keys stored. In this you would just have m and b stored and you would use the formula to look up the index.
Comments
[–]
eloff
5y ago
Thanks, that really helps get an intuition for how this works! It's pretty clever really.