Project: aptanastudio
Issue APSTUD-4453: Inline calls to addToList/Map/Set in newList/Map/Set
Currently, for code-reuse reasons, we call CollectionsUtil#addToList/Map/Set in CollectionsUtil#newList/Map/Set. However, to make these a bit faster and to avoid unnecessary List creation/GC, we should essentially inline the addTo* methods in the new* methods. These are simple loops and we have unit tests to cover both methods already
Story points: 3