On Wednesday 14 April 2004 20.42, Marc Huffnagle wrote: > I disagree, the order of the fields in a struct should have absolutely > no effect on performance. Accessing one location in memory should be > just as fast as accessing another, since it's Random Access Memory. If > the fields were accessed sequentially then you would be right, but they > aren't. But it can help cache hit rate, thus it has effect on performance. Bye Gabor Fekete -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/