On 8/8/06, Sheen, Tony <[EMAIL PROTECTED]> wrote: > > I know that I tend to write big functions instead of breaking them down, > > but then my code tends to run fast. I feel there is some connection > > between these facts. > > For maintainability, the worst program I ever worked on had just a single > function - main() - but it ran like greased lightning which was the main > requirement! Formatting it nicely with 'proper' functions reduced its speed > by almost 15%. > > I now tend to avoid using lots of functions...
I would hope that a decent compiler would be able to automatically inline static functions and so not lose too much performance in a situation like this. cheers, John -- ## List details at http://www.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
