Hacker News new | ask | show | jobs
by tsenart 555 days ago
Yes! A typical use case is to efficiently implement ORDER BY LIMIT N in SQL databases in a way that doesn’t require sorting the entire column just to get those first N items.
1 comments

i assume this go code runs in the client since pg does not support golang server side. why would a client side ordering be faster than doing in the database?
This is to implement a database, not use one.