4 ms·
collect will ... collect it all into some kind of data structure, so yeah, that version would be doing a bunch of allocation.
by steveklabnik 10y ago
collect will ... collect it all into some kind of data structure, so yeah, that version would be doing a bunch of allocation.