【24h】

On performance of delegation in Java

机译:关于Java中的委托执行

获取原文

摘要

Delegation is an important design concept in object-oriented languages. In contrast to inheritance, which relates classes to each other, delegation operates on the level of objects and thus provides more flexibility. It is well known, that usage of delegation imposes performance penalties in the sense of delayed execution. But delegation on the level of sourcecode is optimized on bytecode level up to a degree, that imposes much lower performance penalties than expected. This paper examines in detail how big these penalties are.
机译:委托是面向对象语言中的重要设计概念。与将类彼此关联的继承相反,委托在对象级别上进行操作,因此提供了更大的灵活性。众所周知,在延迟执行的意义上,使用委派会对性能造成惩罚。但是,在某种程度上,对源代码级别的委派在字节码级别上进行了优化,这使性能损失比预期的要低得多。本文详细研究了这些处罚有多大。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号