Open alimanfoo opened 8 years ago
recast() requires a sort, however currently the sort is executed every time the table is iterated over, which is unnecessary. Rather recast() should perform the sort only once then re-use the cached sort result.
Btw should be a good opportunity to fix #297 also, and ensure only a single pass is made through the data (#35).
recast() requires a sort, however currently the sort is executed every time the table is iterated over, which is unnecessary. Rather recast() should perform the sort only once then re-use the cached sort result.