Sanne/hibernate-orm — comment on commit 6fcc0afd987875509524190683e9a9137c608e5d
File: hibernate-core/src/main/java/org/hibernate/criterion/SimpleProjection.java line 37
By Sanne:

I accept suggestions :)
Initially I thought something around 20 would be good enough to accommodate most queries, but really I don't know and adding 20 more will certainly make no significant difference in memory consumption, so I've picked a rather high.
Wanting to pick a number to avoid most string allocations, we could even pick 1000 but I don't want to waste memory unnecessarily.