The Solution array is of size 1,000,000 X 18, most of which is not used. Additionally, data is derived only from sets of two consecutive rows which means we do not need all 1,000,000 rows available at all times. We would like to change the code so that is fills a row in the same context where it derives data from it so that we can immediately dispose of that row.
The Solution array is of size 1,000,000 X 18, most of which is not used. Additionally, data is derived only from sets of two consecutive rows which means we do not need all 1,000,000 rows available at all times. We would like to change the code so that is fills a row in the same context where it derives data from it so that we can immediately dispose of that row.