gramps icon indicating copy to clipboard operation
gramps copied to clipboard

Filter optimizer logical op "or" and "one"

Open stevenyoungs opened this issue 10 months ago • 2 comments

Enable the filter optimizer to optimize filters the use logical operations of "one" or "or"

Note: this branch needs to be rebased once #2052 is merged into maintenance/gramps60 and onward merged into master

stevenyoungs avatar May 29 '25 21:05 stevenyoungs

The only way we can optimize "or" would be if all rules (at that level) have selected_handles.

dsblank avatar May 30 '25 01:05 dsblank

The only way we can optimize "or" would be if all rules (at that level) have selected_handles.

Yes I reached that conclusion as well and gave up for a bit. It may just be inverted unoptimized rules that are a problem when the logical op is "or". Let's see if my latest attempt passes the tests.....

stevenyoungs avatar Jun 01 '25 11:06 stevenyoungs