|
|
|
|
|
by habitue
4489 days ago
|
|
Yeah, that was what I was talking about. Without typing up an example its cumbersome to explain. But the idea is use a constant time access data structure. The easiest would be a set, but if (as I suspect) the documents are dicts, you'd need to lookup by a hashable key. Thanks for giving the example |
|