4 ms·
a) one item at a time means slow because when you are iterating maps/slice/array you have it all in memory so it is fast. with one item you have to constantly r
by hknmtt 3y ago
a) one item at a time means slow because when you are iterating maps/slice/array you have it all in memory so it is fast. with one item you have to constantly rewrite memory, move data and whatnot
b) yo can always use for loop in a traditional for way with standard arguments(init, stop, next)
c) yield is poor way of doing channels, i do not see why we should be degrading our code
d) this entire premise is stupid :D