Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…67752) Benchmarking terms query (10000+ terms) on long type, shows that the code part costing most CPU is when trying to judge whether terms have a decimal part because a double mod is executed for each number, regardless of if it has a decimal part. Adding a check before the mod take place to exclude non-decimal numbers. (cherry picked from commit c32f8b1) Co-authored-by: gf2121 <52390227+gf2121@users.noreply.github.com>
- Loading branch information