Optimisation 
Author Message
 Optimisation

Quote:

> I was wondering if it will make a difference if I use pointer references
> to an array, like *(x+i) or subscripted notation like x[i] in terms of
> speed??

No.


Wed, 04 Sep 2002 03:00:00 GMT  
 Optimisation
Hello,
I was wondering if it will make a difference if I use pointer references
to an array, like *(x+i) or subscripted notation like x[i] in terms of
speed?? Also, any pointers to websites about Code Optimisation will be
appreciated.
Thanks,
Aseem

Sent via Deja.com http://www.deja.com/
Before you buy.



Thu, 05 Sep 2002 03:00:00 GMT  
 Optimisation

Quote:

>I was wondering if it will make a difference if I use pointer references
>to an array, like *(x+i) or subscripted notation like x[i] in terms of
>speed??

Unlikely. Go for the more readable option.

Quote:
>        Also, any pointers to websites about Code Optimisation will be
>appreciated.

Try this one

  http://www.ontek.com/mikey/optimization.html

Dann Corbit probably has a couple of hundred more. ;)

-- Mat.



Thu, 05 Sep 2002 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. ENORMOUS Pb with VC7 linker optimisation !

2. Binary tree optimisation

3. Optimisation In C and Algorithm Develpment

4. Algorithm Optimisation Thoughts - Languageh Independent Stage Of Development

5. Code optimisation

6. Sequence Points, Aliasing & Optimisation

7. OT: Code Optimisation Links

8. optimisation

9. Code optimisation concerning pointers

10. optimisation flags

11. Optimisation techniques ???

12. Optimisation

 

 
Powered by phpBB® Forum Software