3 ms·
Which doesn't help in the case I was discussing, namely when you want a generic array. As in: generic. Not specific. You end up having to use a collection, whi
by TheLoneWolfling 12y ago
Which doesn't help in the case I was discussing, namely when you want a generic array. As in: generic. Not specific.
You end up having to use a collection, which ends up with an order of magnitude more memory usage than an array in the case where you want to store characters. (char is the worst case. But all primitives are pretty bad in that regard.)