首页> 外国专利> 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.
机译:一种方法和装置在面向对象的编程环境中执行接口分配的优化。具体来说,确定在特定对象上分派接口方法的代码段。检查与该类关联的接口表,以查找分派指定的接口。确定接口位置的偏移量,并将该偏移量缓存在类缓存中。然后在接收到下一个调度时检查类高速缓存,以确定与类高速缓存中的偏移量关联的接口是否与下一个调度所指定的接口匹配。

著录项

  • 公开/公告号US6260045B1

    专利类型

  • 公开/公告日2001-07-10

    原文格式PDF

  • 申请/专利权人 APPLE COMPUTER INC.;

    申请/专利号US19980083518

  • 发明设计人 ERIK L. EIDT;

    申请日1998-05-22

  • 分类号G06F173/00;

  • 国家 US

  • 入库时间 2022-08-22 01:03:51

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号