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 Jul Times are displayed in time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change
11:00 - 11:30 Talk | Preexistence revisited ICOOOLPS Roland DucournauLIRMM, Université de Montpellier, Julien PagèsLIRMM, Université de Montpellier, Jean PrivatUniversité du Québec à Montréal, Colin VidalLIRMM, Université de Montpellier | ||
11:30 - 12:00 Talk | Short Paper: Call-target-specific Method Arguments ICOOOLPS Fabio NiephausHasso Plattner Institute, University of Potsdam, Matthias SpringerHasso Plattner Institute, Tim FelgentreffHasso-Plattner-Institute, Potsdam, Tobias PapeHasso-Plattner-Institute, Potsdam, Robert HirschfeldHPI |