3 ms·
I use String(s)
by mcosta 12y ago
I use String(s)
- TheLoneWolfling 12y agoWhich 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.)