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
Replace an O(n) lookup in LINQ query parsing by an O(1) one
The HQL generators registry already uses dictionaries to resolve
generators for methods found in LINQ expression. But some generators
do not declare statically their supported methods and instead have
to be queried with a loop on them for support of methods encountered
in the LINQ query.
The result of this lookup can be cached for avoiding calling this loop
again on the next query using the method.
If #1868 is merged, this change will compensate for #1868 causing up to
three such lookups by method.
0 commit comments