-
Type:
Enhancement
-
Resolution: Won't Fix
-
Priority:
P4
-
None
-
Affects Version/s: None
-
Component/s: core-libs
A DESCRIPTION OF THE REQUEST :
From Java 7, the no args constructor, ArrayList() initializes the arrayList only when the first object is inserted.
I am requesting for the same feature to be added to the other constructor as well.
JUSTIFICATION :
Over the period of time, I have seen that developers initialize an arrayList well before the object is required. As a result, memory space is being inefficiently held when it is not required.
From Java 7, the no args constructor, ArrayList() initializes the arrayList only when the first object is inserted.
I am requesting for the same feature to be added to the other constructor as well.
JUSTIFICATION :
Over the period of time, I have seen that developers initialize an arrayList well before the object is required. As a result, memory space is being inefficiently held when it is not required.