in reply to Re: Cost of passing function referencesin thread Cost of passing function references
You may want to invest in the camel, see e.g. Chapter 16. Compiling