Compare with new code, where optimization would begin to become
noticeable on lists with more than 5000 elements (100+ pairwise actors).
Testing on updated hard square code reveals this prediction to be quite accurate:
Left uses a naive algorithm with non-optimal complexity due to Sort, while the right should achieve optimal complexity using Skip12.
With only 16 masses, the left notebook runs noticeably faster. With 100 masses, the right notebook runs barely faster. With five hundred masses, the optimal complexity algorithm using Skip12 runs noticeably faster (at least 2x). Another method using AVLTree DataStructure was not implemented, due to time constraints and lack of KeyDrop method.
Eventually the code will be distributed through WFR.
