【24h】

Walkabout Revisited: The Runabout

机译:重温徒步游览:小快艇

获取原文
获取原文并翻译 | 示例

摘要

We present a variation of the visitor pattern which allows programmers to write visitor-like code in a concise way. The Runabout is a library extension that adds a limited form of multi-dispatch to Java. While the Runabout is not as expressive as a general multiple dispatching facility, the Runabout can be significantly faster than existing implementations of multiple dispatch for Java, such as MultiJava. Unlike MultiJava, the Runabout does not require changes to the syntax and the compiler. In this paper we illustrate how to use the Runabout, detail its implementation and provide benchmarks comparing its performance with other approaches.
机译:我们提供了访问者模式的一种变体,它允许程序员以简洁的方式编写类似访问者的代码。 Runabout是一个库扩展,它向Java添加了有限形式的多调度。尽管Runabout不像一般的多调度工具那样具有表现力,但是Runabout可以比现有的Java多调度实现(例如MultiJava)快得多。与MultiJava不同,Runabout不需要更改语法和编译器。在本文中,我们说明了如何使用Runabout,详细说明了其实现方式,并提供了将其性能与其他方法进行比较的基准。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号