You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good catch. I wonder what would be a good way to handle this. Could the default algorithm be made faster? If not, then adding another function might be a nice way. I can accept a PR for either.
Using fixOrder on a list of 3000 items took 30 seconds. Knowing the nature of data (only parent-child relation), an alternative fix took only 50 ms.
Random list of 3000 items:
An alternative fixOrder which works in 50 ms (not generic):
The text was updated successfully, but these errors were encountered: