-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Perfomance index #295
Comments
If i understand your question correctly it's because the |
Oh sorry, i mean |
One potential factor is how big is your dataset? Using an index can be more expensive than iteration if the dataset is small. Another factor could be the microbenchmark setup. Could you share details of how you are running those tests? The overhead of class loading the bytecode for additional classes when you use additional indexes, and JIT compilation could be a factor as well. |
I have class:
Query:
First time I index like this:
Second time I index like this:
Why first time faster than second time about 3-5 ms? Although query use contains method?
I just spam about 10 -15 queries
The text was updated successfully, but these errors were encountered: