Table VS Memory Access
Posted: Sun Feb 27, 2011 10:10 pm
Hello,
I have problem, i have make a memory access speed test and i see this:
Memory acess with Peek an Poke command are slower than table command.
The speedest technique to write information is Table[number]=data
What is the utility of memory block function? because table technique is more fast and read global variable too
Some command are useless like Div(), Mul() etc...
X=Mul(2,10) is slower than X=2*10
So why do you keep these command? if you erase these command, we win in size of compiled prg and in readability, because 2 command to make the same things... keep as much faster for programm faster
I have problem, i have make a memory access speed test and i see this:
Memory acess with Peek an Poke command are slower than table command.
The speedest technique to write information is Table[number]=data
What is the utility of memory block function? because table technique is more fast and read global variable too
Some command are useless like Div(), Mul() etc...
X=Mul(2,10) is slower than X=2*10
So why do you keep these command? if you erase these command, we win in size of compiled prg and in readability, because 2 command to make the same things... keep as much faster for programm faster