~/talk

Evolution Of Keyword Parameters

Talkat RubyConf Portugal 2015 · 2015-09-14..09-15· [ruby]
slides:none on file

History and concrete changes to keyword parameters in Ruby from the hash-based hack to a real calling convention are explained, with an MRI C implementation and compiler+VM changes that add a keyword table and new dispatch paths. A prototype runs on Ruby 2.2/2.3-era code, replaces heavy splat/merge work, and passes unit tests. Microbenchmarks and a Rails-style workload show reduced call overhead — roughly 20–40% faster call overhead on keyword-heavy paths — and the new approach interoperates with default values and keyword splatting.

AI-written summary · about

  1. 0:00Introduction and welcome
  2. 6:36Ruby keyword parameters overview
  3. 13:23History and evolution
  4. 20:00Practical use cases
  5. 27:22Q&A and summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.