Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   Structure or Arrays (http://www.go4expert.com/forums/structure-or-arrays-t384/)

coderzone 18Jul2005 09:27

Structure or Arrays
Hello all,

I'm currently optimising an application for sheer speed. My application contains alot of structures and it got me thinking whether arrays are any faster?

Thank you in advance.

shabbir 18Jul2005 10:33

Re: Structure or Arrays
I have tried to write a small program to benchmark it but the output was almost equal to 0.00000 for both the cases and sometimes structure would come faster by a very very minute amount.

coderzone 19Jul2005 17:25

Re: Structure or Arrays
Thanks and I also got the similar results.

shabbir 19Jul2005 22:07

Re: Structure or Arrays

Originally Posted by coderzone
Thanks and I also got the similar results.

My pleasure

All times are GMT +5.5. The time now is 02:27.