Closed nathggns closed 10 years ago
Right now whenever you swap a row, the order array is recalculated (by selecting all rows and mapping over them).
This could become a bottleneck for large tables. We should look at keeping an internal array of the values and swapping the values when swapping rows.
Potential issues with this
Going to cancel this, as it has too many issues (what if a row changes its value). We can readdress this later on if speed becomes an issue.
Right now whenever you swap a row, the order array is recalculated (by selecting all rows and mapping over them).
This could become a bottleneck for large tables. We should look at keeping an internal array of the values and swapping the values when swapping rows.
Potential issues with this