Details
Description
For queries with many (300 or so) "or" constraints of the form "x = 1 or x = 2 or x = 3", the query engine uses quite a lot of CPU time. According to profiling data, this is due to using "toString()" too often, and "Sets.union" (com.google.common.collect.Sets).
The Oak 1.0 branch is affected most, not sure about trunk.