发明名称 |
Fast late binding of object properties |
摘要 |
An apparatus and a method for managing class properties in a computer program is described. Classes are declared. Each class is associated with a corresponding property with at least one class inheriting one or more property corresponding to one or more other classes. A table generator forms a table of property offsets associated with each class. The table is copied forward with each inheritance declaration. A reference to a property of a class is resolved by retrieving the table associated with a current instance's class and resolving from the table associated with the class corresponding to an object from which the property is referenced. |
申请公布号 |
US8438540(B2) |
申请公布日期 |
2013.05.07 |
申请号 |
US20090475399 |
申请日期 |
2009.05.29 |
申请人 |
SCHNEIDER JAMES PAUL;RED HAT, INC. |
发明人 |
SCHNEIDER JAMES PAUL |
分类号 |
G06F9/44 |
主分类号 |
G06F9/44 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|