On Nov 2, 2017, at 4:33 PM, Christoph Dreis <[email protected]> wrote: > > this has a bigger impact on the overall footprint of Method/Executable > objects. What are your thoughts on this?
The footprint is probably about the same. Small List.of values do not contain arrays, and may be smaller than arrays with the same number of elements, since they do not have a length field. And, indeed, methods typically have a small number of parameters. See the type java.lang.util.ImmutableCollections.List2 for an example of an array-free data structure. — John
