4 ms·
just iterating: for (Object o: collection) { } causes memory allocation. If you are interested, android team at had several talks at Google I/O (not just
by vetinari 14y ago
just iterating:
for (Object o: collection) {
}
causes memory allocation.
If you are interested, android team at had several talks at Google I/O (not just 2012) about optimizing memory usage.
- mogrim 14y agoCheers, will check those out.