19.07.2011, 22:13
But I still think file thing will be faster because it reads only one line and store it into memory (when elevator reaches its position, the next position override previous)... I have around 5 diffrent elevator positions for each of 20 elevators... If we load 5 positions (x,y,z) and their move & wait times into arrays for 20 elevators (we get 100 diffrent positions + 40 times and thats 340 values meant to be stored into arrays)... This is a lot of data! .