C: performance of assignments, binary operations, et cetera...

Posted by Shinka on Stack Overflow See other posts from Stack Overflow or by Shinka
Published on 2010-05-22T21:39:06Z Indexed on 2010/05/22 21:50 UTC
Read the original article Hit count: 218

Filed under:
|

I've heard many things about performance in C; casting is slow compared to normal assignments, functional call is slow, binary operation are much faster than normal operations, et cetera...

I'm sure some of those things are specific to the architecture, and compiler optimization might make a huge difference, but I would like to see a chart to get a general idea what I should do and what I should avoid to write high-performance programs. Is there such a chart (or a website, a book, anything) ?

© Stack Overflow or respective owner

Related posts about c

    Related posts about Performance