[ruby-cvs:60818] normal:r53657 (trunk): Signal.list deduplicates keys

normal at ruby-lang.org normal at ruby-lang.org
Tue Jan 26 14:33:28 JST 2016


normal	2016-01-26 14:33:28 +0900 (Tue, 26 Jan 2016)

  New Revision: 53657

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53657

  Log:
    Signal.list deduplicates keys
    
    This allows us to reuse string objects used in symbols as well
    as any string representations of signal names in source code.
    
    * signal.c (sig_list): use fstring for hash key
    * test/ruby/test_signal.rb (test_signal_list_dedupe_keys): added

  Modified files:
    trunk/ChangeLog
    trunk/signal.c
    trunk/test/ruby/test_signal.rb


More information about the ruby-cvs mailing list