Hacker News new | ask | show | jobs
by jjluoma 2587 days ago
I find this a little bit funny,

> I was extremely suspicious of the EXISTS optimization, since it changes the logic to exit early.

Does this this mean that if one has found an answer, it is somehow sensible thing not to return the answer right away?

1 comments

With a database, that depends if you want "all the answers" or "any answer". Exists is the latter.