首页>
外国专利>
Method and apparatus for optimizing interface dispatching in an object-oriented programming environment
Method and apparatus for optimizing interface dispatching in an object-oriented programming environment
展开▼
机译:在面向对象的编程环境中优化接口调度的方法和装置
展开▼
页面导航
摘要
著录项
相似文献
摘要
A method and apparatus perform optimizations for interface dispatching in an object-oriented programming environment. Specifically, section of code that dispatches an interface method on a particular object is determined. A table of interfaces associated with the class is examined to locate the interface specified by the dispatch. An offset for a location of the interface is determined, and the offset is cached in a class cache. The class cache is then examined when a next dispatch is received to determine whether the interface associated with the offset in the class cache matches the interface specified by the next dispatch.
展开▼