Methods and apparatus to improve application launch time
Modification of source code reduces a launch time associated with an application program so that the application program more quickly responds to input from a user after startup. One technique of modifying source code includes converting globally defined variables in the source code to local static...
Saved in:
Main Authors | , , |
---|---|
Format | Patent |
Language | English |
Published |
30.03.2010
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | Modification of source code reduces a launch time associated with an application program so that the application program more quickly responds to input from a user after startup. One technique of modifying source code includes converting globally defined variables in the source code to local static variables associated with respective newly created functions. Inclusion of the globally defined variables in the source code impacts application launch time because a compiler creates initialization code associated with the globally defined variables that must be run at launch time to initialize the variables in case they are used by functions in the application program. On the other hand, local static variables are initialized when the function that contains them is first called. Thus, use of local static variables in respective newly created functions in lieu of globally defined variables reduce application program launch time. |
---|---|
Bibliography: | Application Number: US20050195450 |