Better HN
topnewbestaskshowjobs
Log inSign up

throwaway-kg8d5

4 karma · joined Oct 15, 2021 (5y ago) · 2 submissions

Submissions

comment 1y ago · link · parent

Very true. I would have gone with

  Every coder knows
  the secret to optimizin’
  is knowing what to throw away
  and knowing what to keep

comment 5y ago · link · parent

> you can approximate that by doing a LIMIT on unsorted results in a subselect

If you still have time left over, you can increase this LIMIT and run the query again (c.f. "iterative deepening") to get something like the desired time-limited query behaviour