Comment

Comment by programmarchy

I had assumed btree in Postgres was referring to a binary tree but that is definitely not the case. I also learned when to use a hash index, rather than a btree. (If I understand correctly if you’re only using the = operator rather than something that needs sorting with >, <, <=, etc. then a hash will perform better.)

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton