OpenSearch/plugins/discovery-ec2/src
Simon Willnauer cdd7c1e6c2 Return List instead of an array from settings (#26903)
Today we return a `String[]` that requires copying values for every
access. Yet, we already store the setting as a list so we can also directly
return the unmodifiable list directly. This makes list / array access in settings
a much cheaper operation especially if lists are large.
2017-10-09 09:52:08 +02:00
..
main Represent lists as actual lists inside Settings (#26878) 2017-10-05 09:27:08 +02:00
test Return List instead of an array from settings (#26903) 2017-10-09 09:52:08 +02:00