On Fri, 15 Oct 1999 00:47:38 +0900, Takehiro Tominaga wrote:
>
>Because on my architecture, (intel celeron 464MHz + gcc2.95.1), arrays
>are more efficient than lots of pointers. I think most currently
Do you have any pointers to info on why this is the case? What
exactly do you mean by more efficient? Do you mean that gcc is able
to optimize efficiently enough that you can use arrays freely to make
the code clean and easy to follow, yet achieve the same performance
as pointers? Or do you mean that on your system arrays are faster
than pointers period.
I have a hard time beliveing that array operations can be faster than
a well crafted pointer based operation unless some array operations
can be done in parallel.
--
Richard A. Smith Bitworks, Inc.
[EMAIL PROTECTED] 501.521.3908
Sr. Design Engineer http://www.bitworks.com
--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )