Sanne/hibernate-search — comment on commit 39777fc9ce5d9cb774509122f849b7c2ed49463e
File: hibernate-search-engine/src/main/java/org/hibernate/search/query/engine/impl/HSQueryImpl.java line 108
By Sanne:

> fair enough. You are saying autoboxing is a big overhead? Would JIT not take care of this?
Possibly, but it's a hard optimization, it might take a while before it reaches for this decisions and it might delay other nice optimisations.
I also think it requires the DoEscapeAnalysis=true option, and it doesn't work around interfaces as in our case.