mirror of
https://review.haiku-os.org/haiku
synced 2025-01-18 12:38:51 +01:00
bb1f240594
Previously, lower was better, and higher was worse. But really we want the scores to be based primarily around the index sizes, which can grow to be very large, so a maximum score is hard to determine. Instead, start with the index size, and then divide to make it smaller based on how "useful" the equation terms will be in searching it. Improves the performance of queries like those in #19080; according to humdinger's testing, the query with the most expensive term first went from ~2.0s execution time down to ~0.7s, same as the query with the least expensive term first. Change-Id: Id71fa21c95cfe3d8d0019ff356bdf4935446411f Reviewed-on: https://review.haiku-os.org/c/haiku/+/8593 Reviewed-by: waddlesplash <waddlesplash@gmail.com> |
||
---|---|---|
.. | ||
build | ||
compatibility | ||
config | ||
cpp | ||
glibc | ||
libs | ||
os | ||
posix | ||
private | ||
tools |