How would I fill a second result table in that same loop? Looping through the data twice would be too slow, considering 'data' may have 10000 elements.
twice would be too slow, considering 'data' may have 10000 elements.