Short Paper: Call-target-specific Method Arguments
Most efficient implementations of dynamically-typed programming languages use polymorphic inline caches to determine the target of polymorphic method calls, making method lookups more efficient. In some programming languages, parameters specified in method signatures can differ from arguments passed at call sites. However, arguments are typically specific to call sites, so they have to be converted within target methods. We propose call-target-specific method arguments for dynamically-typed languages, effectively making argument handling part of polymorphic inline cache entries. We implemented this concept in JRuby using the Truffle framework in order to make keyword arguments more efficient. Micro-benchmarks confirm that our implementation makes keyword argument passing in JRuby more than twice as fast.
Mon 6 JulDisplayed time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change
11:00 - 12:00 | |||
11:00 30mTalk | Preexistence revisited ICOOOLPS Roland Ducournau LIRMM, Université de Montpellier, Julien Pagès LIRMM, Université de Montpellier, Jean Privat Université du Québec à Montréal, Colin Vidal LIRMM, Université de Montpellier | ||
11:30 30mTalk | Short Paper: Call-target-specific Method Arguments ICOOOLPS Fabio Niephaus Hasso Plattner Institute, University of Potsdam, Matthias Springer Hasso Plattner Institute, Tim Felgentreff Hasso-Plattner-Institute, Potsdam, Tobias Pape Hasso-Plattner-Institute, Potsdam, Robert Hirschfeld HPI |