You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@lamhieo02 it's more convenient to do complex processing in a declarative way using map/filter/reduce/flatmap chains.
Usually, this functionality uses the power of iterators to avoid unnecessary memory allocations, but this library (and JS as well) consumes and returns plain slices which leads to increased memory allocation.
It's possible to implement the same functionality with iterators (example), but as Go (yet) isn't designed with iterators in mind - you'll still need to transform a final result into a slice to use it in code which isn't familiar with iterators.
No description provided.
The text was updated successfully, but these errors were encountered: