Re:Fun with Go Iterators
by Varriount on Thursday October 10, 2024 @01:38PM
(#41801239)
It always bugs me when I see that pattern in JavaScript, because each `map`, etc. call is an array allocation. Yeah, yeah, I know that the VM's memory allocators are likely optimized for fast allocation, but that doesn't make the allocation completely free.
[ Parent
| on HN ]
There are no comments on this comment yet.