Statement
This uniqueVisitors(ids) works: it returns how many distinct ids there are. But with a day's logs (hundreds of thousands of visits) it takes too long. Make it fast without changing the result, and explain why it was slow.
This uniqueVisitors(ids) works: it returns how many distinct ids there are. But with a day's logs (hundreds of thousands of visits) it takes too long. Make it fast without changing the result, and explain why it was slow.
This uniqueVisitors(ids) works: it returns how many distinct ids there are. But with a day's logs (hundreds of thousands of visits) it takes too long. Make it fast without changing the result, and explain why it was slow.