player: freeze sink name to avoid needless dup
commit6a27326c4ac9459e194bd082cfec200578980517
authorEric Wong <e@80x24.org>
Sat, 31 Dec 2016 03:46:27 +0000 (31 03:46 +0000)
committerEric Wong <e@80x24.org>
Sat, 31 Dec 2016 07:02:49 +0000 (31 07:02 +0000)
tree9276ffe3cec78955b796f58818c5d8ff5f5be55c
parent9152a00d3a706d93d7ed9705ce2529bd3d1f3772
player: freeze sink name to avoid needless dup

Ruby Hashes will automatically create frozen copies of unfrozen
strings used as hash keys to avoid accidental mutation.
Pre-freeze keys explicitly so the Ruby VM will not need to
create the frozen copy.
lib/dtas/player.rb
lib/dtas/player/client_handler.rb