You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…ters so the parameters are not resolved until a condition fails. There are still some calls that do light math and pick items from arrays, but this performance hit in the tests is something we can live with for better production performance. Closesapache#375, closesapache#373, closesapache#372.
NightOwl888
added a commit
to NightOwl888/lucenenet
that referenced
this issue
Nov 3, 2020
Found another easy improvement:
There are plenty of calls to IndexOptions.CompareTo(IndexOptions.DOCS_AND_FREQS_AND_POSITIONS) in the code, such as this one:
The problem is that CompareTo receives an object, which leads to boxing the enum:
The text was updated successfully, but these errors were encountered: