Re: void pointer and map (fwd)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Anitha Boyapati writes:
 > 
 > I have one more question : Now that my code is heavily loaded with 
 > reinterpret_cast, does this have a performance problem ? In short, 
 > does exhaustive usage of reinterpret_cast hinder performance ? 

It certainly won't help.  Because the pointer can point to anything
the compiler isn't able to do any alias analysis that will help
performance.

Andrew.

-- 
Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, UK
Registered in England and Wales No. 3798903

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux