codeguru
Computer
- Jan 26, 2006
- 1
Hi!
just a simple question:
I have a 3d array in signed shorts in the dimensions 640x480x64, that should consume memory below 100 MB.
Then I start to index x and y in two for loops and get an 1-dimensional array of 64 elements.
The question is why the performance is slow? it needs 4 hours just to access all data!
My system: P4, 2.4 GHz, 1 GB RAM, XP
just a simple question:
I have a 3d array in signed shorts in the dimensions 640x480x64, that should consume memory below 100 MB.
Then I start to index x and y in two for loops and get an 1-dimensional array of 64 elements.
The question is why the performance is slow? it needs 4 hours just to access all data!
My system: P4, 2.4 GHz, 1 GB RAM, XP