Set indexKey once per row, not per column.
Set indexKey once per row, not per column.

The performance improvement depends on the number of columns, but on a
real data set of 5000 rows and 11 resolved columns this improves
performance by 8.7%.

This does not change the result since the order of keys in the spread is
unchanged.

reactabular/table-resolver