首页> 外文会议>International Conference on Software Engineering Advances >Functional Classes: Cost of Recursive Method Calls in Java
【24h】

Functional Classes: Cost of Recursive Method Calls in Java

机译:功能类:Java中递归方法调用的成本

获取原文

摘要

In this paper, we discuss the cost of Functional Classes design style. Functional Classes merge both object-oriented and functional programming paradigms; a functional class is a class without variables. Because of this, the methods in Functional Classes are true functions. Functional Classes design style aims at improving reliability and program correctness. However, resulting program code is not optimal when considering the performance. As the main contribution, we analyze here the performance of Functional Classes in Java. We study especially the cost of recursive method calls. As the case study, we analyze an implementation of the cartesian product operation in a lightweight data mediator. The analysis confirms that Functional Classes design style leads to implementations that make poor use of HotSpot. However, the analysis also indicates how to restructure a functional class to improve the performance.
机译:在本文中,我们讨论了功能类设计风格的成本。功能类合并面向对象和功能编程范式;功能类是没有变量的类。因此,功能类中的方法是真正的函数。功能类设计风格旨在提高可靠性和程序正确性。但是,在考虑性能时,导致的计划代码在不佳。作为主要贡献,我们分析了Java中功能类的性能。我们特别学习递归方法调用的成本。如案例研究,我们分析了轻量级数据调解器中笛卡尔产品操作的实施。分析证实,功能类设计风格导致实现热点差的实现。但是,分析还指示如何重组功能类以提高性能。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号