TrollDB icon indicating copy to clipboard operation
TrollDB copied to clipboard

Performance bottleneck in query

Open tokee opened this issue 9 years ago • 0 comments

It is a shame to see superfluous code in the query-implementation, when the rest of the functionality is nice & clean. While the logic does strive (and actually manages) to produce The Answer, one can instead rely on vacuous truth and re-write the code so that the result of the query-evaluation satisfies the property that any content in the returned result set will be the correct response to the query. This will have the side effect of any content also being the wrong result or the colour purple, but as it is trivial to extract only the right answers from the result, this should not pose any trouble.

tokee avatar Apr 04 '17 19:04 tokee