fast For Each Indexed
Performs the given action for each element in this sublist, providing its index relative to this sublist.
This method is faster and more efficient than List.forEachIndexed.
Parameters
action
The function to be executed