Confirmed users
381
edits
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
This algorithm is being implemented in [http://blog.mozilla.com/tglek/2007/01/03/squashed-and-compiled/ Squash] | |||
#Collapse the XPCom interface nsIClass class and the child nsClass that implements it. | |||
##Header Inference. Not all member variables are defined in public headers, find out what member variables are declared in nsClass that are not defined in public headers and can not use a forward declaration. Some options: | |||
#Collapse the XPCom interface nsIClass class and the child nsClass that implements it | |||
##Not all member variables are defined in public headers, find out what member variables are declared in nsClass that are not defined in public headers and can not use a forward declaration. Some options: | |||
##* Move Non-internal members into the base class, declare functions that use internal members as virtual. This also requires a factory method in the base class to return the derived class. | ##* Move Non-internal members into the base class, declare functions that use internal members as virtual. This also requires a factory method in the base class to return the derived class. | ||
##* Make headers public, try again? | ##* Make headers public, try again? | ||