Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
I could not believe my eyes indeed, I dunnot about 20x but I got 8x faster 265k & 288k op vs 2.3M
that's certainly one way to solve this problem LOL. nicely done!
You're right, pal. Probably most right than you think シ.
3-item array with 6 different combos. A no-brainer. Started to go this route, but map/sort became a technical approach. Also noticed slice/sort.
Creating a new array that is always three elements long and sorting it has no impact on performance. It is doubtful that you could even measure a difference.