Reduce memory allocations by MatheusRich · Pull Request #41335 · rails/rails

Summary Group sequential maps and remove unnecessary to_a in range to reduce memory allocations. I know this is pretty basic but I think anything helps! Other Information A basic benchmark using B...