433d59b917
Most lists created when loading a dill file are growable. That's not always needed, though, and a non-growable list is more compact than a growable one. When running dart2js in its "linker scenario" on a large internal app this saves something along the lines of 90MB of memory. Change-Id: I113a73ed150efb56a5172ac7e1daf1d28f4bc188 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/185825 Reviewed-by: Johnni Winther <johnniwinther@google.com> Reviewed-by: Stephen Adams <sra@google.com> Commit-Queue: Jens Johansen <jensj@google.com>