[ruby-cvs:68511] nobu:r61330 (trunk): Improve Array#- efficiency [Fixes GH-1756]

nobu at ruby-lang.org nobu at ruby-lang.org
Tue Dec 19 10:08:52 JST 2017


nobu	2017-12-19 10:08:52 +0900 (Tue, 19 Dec 2017)

  New Revision: 61330

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

  Log:
    Improve Array#- efficiency [Fixes GH-1756]
    
    When doing the difference of a small array with a big one it is not
    efficient in both time and memory to convert the second one to a hash.
    
    From: Ana Mar?\195?\173a Mart?\195?\173nez G?\195?\179mez <ammartinez at suse.de>

  Modified files:
    trunk/array.c


More information about the ruby-cvs mailing list