nyaruka / mailroom

Backend services for the TextIt platform.
Other
0 stars 1 forks source link

Audit use of `slices.Collect(..)` #321

Open rowanseymour opened 2 months ago

rowanseymour commented 2 months ago

When updating to go 1.23 and switching to the iterator based functions in maps and slices we just replaced something like maps.Keys(..) with slices.Collect(maps.Keys(..)) but it would be better to actually use iterators where we can, especially for things like chunking thru really big slices.