Arrays vs Lists (speedtest)

BlitzMax Forums/BlitzMax Programming/Arrays vs Lists (speedtest)

Debug off:

Creating...
Creating the Array by Slicing took: 5906
Adding Elements to TList took: 28
Creating the Array by initializing it's size first took: 0
Reading the data...
Reading the Array Values took: 0
Reading the List Values took: 4

Debug on:

Creating...
Creating the Array by Slicing took: 5740
Adding Elements to TList took: 60
Creating the Array by initializing it's size first took: 1
Reading the data...
Reading the Array Values took: 0
Reading the List Values took: 16