On 25.01.2018 07:32, sun...@apache.org wrote:
Repository: groovy
Updated Branches:
refs/heads/master 031fc238f -> 7be5f2f82
Increase the possible size of value in GString instance
[...]
- initialCapacity += values.length * Math.max(initialCapacity /
strings.length, 1);
+ initialCapacity += values.length * Math.max(initialCapacity /
strings.length, 8);
return Math.max((int) (initialCapacity * 1.2), 16);
}
I would wish here for a comment or at least a commit message why this
metric has been chosen. Otherwise the next change may very well undo
this again and nobody is really more wise here.
bye Jochen