12.05.2015 Views

type - David Vernon

type - David Vernon

type - David Vernon

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Functions<br />

Inline Functions and Macros<br />

• A call to a function causes<br />

– a jump to a separate and unique code segment<br />

– the passing and returning of arguments and function<br />

values<br />

• This trades off time efficiency in favour of space<br />

efficiency<br />

• Inline functions cause<br />

– no jump or parameter passing<br />

– duplication of the code segment in place of the<br />

function call<br />

Copyright © 2007 <strong>David</strong> <strong>Vernon</strong> (www.vernon.eu)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!