Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/20/03 09:45
Read: times


 
#39528 - RE: Arrays of structures
Responding to: ???'s previous message
float dataptr;
dataptr = &(whatsit[4].burble);
dataptr = (&whatsit[4])->burble;

you might try it both ways, with pointers and without, and examine the generated assembly code to see which way is fastest/smallest.

james


List of 9 messages in thread
TopicAuthorDate
Arrays of structures            01/01/70 00:00      
   RE: Arrays of structures            01/01/70 00:00      
   RE: Arrays of structures            01/01/70 00:00      
      RE: Arrays of structures            01/01/70 00:00      
   RE: Arrays of structures            01/01/70 00:00      
      RE: Arrays of structures            01/01/70 00:00      
   RE: Arrays of structures            01/01/70 00:00      
      RE: Arrays of structures            01/01/70 00:00      
   RE: Arrays of structures            01/01/70 00:00      

Back to Subject List