mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-19 04:49:15 +00:00
- it uses simple index_by and map which is easier to understand than each_with_index.to_h - it avoids sorting and therefore should be the most efficient solution. Co-authored-by: Maikel <maikel@email.org.au>