2 ms·
I really wish this been originally called the “1+N problem”, not “N+1”. That naming makes it much clearer to me.
by kstrauser 4y ago
I really wish this been originally called the “1+N problem”, not “N+1”. That naming makes it much clearer to me.
- pharmakom 4y agoOr even the “1 then N problem” since we determine the N from the 1.
- Izkata 4y agoI swear that's what it was called when I was first introduced to it a decade ago. When I first saw one of the posts focused on it on here I didn't initially recognize it as referring to the same thing.
- kstrauser 4y agoI don't remember how I heard it originally, but I wouldn't have recognized it as the same, either. To me, "N+1" implies you're already doing N queries and now you're running 1 more. That's a different class of problem than "you were running 1 query, and now you're running more than 1."