# RootPrompt.org   Nothing but Unix.[Home] [Features] [Programming] [Mac OS X] [Search]


 Improving Code Layout Improves Applications

"An application will have many instructions, code has to be written to cover all eventualities -- even those that rarely (and perhaps never) happen. A consequence of this is that most applications end up with a set of instructions that do the work, and a lot of other instructions which have to be there, but are never used. The drawing 1 shows a way of visualising this. The green rectangle represents the whole application, within this application there are a number of routines. Within each routines there are instructions which are frequently executed, these are coloured red, and instructions that are rarely executed, these are coloured blue."
Story

 (Submitted by Noel Wed Jul 27, 2005 )

  


Our content can be syndicated: Main page Mac Page

Copyright 1999-2005 Noel Davis. Noel also runs web sites about sailing and kayaking.
All trademarks are the property of their owners.
All articles are owned by their author