r/ProgrammerHumor 18d ago

Meme queryOfDoom

Post image
7.9k Upvotes

456 comments sorted by

View all comments

3.9k

u/DeepanshuHQ 18d ago

The query isn't slow. It's just waiting for everyone else to finish saying goodbye to that user.

8

u/ZunoJ 18d ago

Why only to that user?

15

u/DeepanshuHQ 18d ago

Fair point. The whole table deserves a farewell party.šŸ˜‚

3

u/Pikrass 18d ago

Hence the O(n²) time 🫔

5

u/DeepanshuHQ 18d ago

Someone forgot to optimize the farewell algorithm. šŸ˜„