Evopdf out of memory6/23/2023 for larger value of skip or if there are a large amount of tagsToExclude (i.e. So this method takes longer as we skip more and more questions, i.e. In addition we have to initially load up the HashSet with all the ids for tag2, so that we can check matches. The main problem is that we have to scan through all the ids for tag1 until we have enough matches, i.e. ![]() One of the most powerful features of the Stack Overflow Tag Engine is that it allows you to do complex boolean queries against multiple Tag, for instance:Ī simple way of implementing this is to write code like below, which makes use of a HashSet to let us efficiently do lookups to see if a particular questions should be included or excluded. This is the part 3 of a mini-series looking at what it might take to build the Stack Overflow Tag Engine, if you haven’t read part 1 or part 2, I recommend reading them first.
0 Comments
Leave a Reply. |