Hacker News new | ask | show | jobs
by erik_seaberg 889 days ago
Map and filter name what they’re doing, while loops look too much alike.

I haven’t checked whether any Go compiler does list fusion between producers and consumers (to avoid leaving a slice in the heap after reading it just once).