[ruby-cvs:69884] nobu:r62732 (trunk): Speed up func1.func2 completion by using Set for ignored modules

nobu at ruby-lang.org nobu at ruby-lang.org
Tue Mar 13 10:28:27 JST 2018


nobu	2018-03-13 10:28:27 +0900 (Tue, 13 Mar 2018)

  New Revision: 62732

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

  Log:
    Speed up func1.func2 completion by using Set for ignored modules
    
    And thus avoiding Module#name calls. Those are slow, especially in
    larger projects, with lots of anonymous modules.
    
    [Fix GH-1798]
    
    From: Dmitry Gutov <dgutov at yandex.ru>

  Modified files:
    trunk/lib/irb/completion.rb


More information about the ruby-cvs mailing list