6 ms·
[After just using `count()`] > Uh oh, someone is tapping you on the shoulder and saying this is too slow because it has to do a complete index scan of the task
by joaomacp 1y ago
[After just using `count()`]
> Uh oh, someone is tapping you on the shoulder and saying this is too slow because it has to do a complete index scan of the tasks for the project, every time you load the page
Just ask them if that's actually the bottleneck and go for a walk outside, before sweating over anything else discussed in this post.