3 ms·
Which is what happens in most modern languages. The items in your list are objects--which internally are just pointers to the data. There's no performance pen
by LorenPechtel 4y ago
Which is what happens in most modern languages. The items in your list are objects--which internally are just pointers to the data. There's no performance penalty for having variable-sized objects in the list.