[Rubyinstaller-devel] overcoming readline's cpu

Roger Pack rogerpack2005 at gmail.com
Sat Nov 22 21:39:41 EST 2008

appears you can somewhat avoid the 'irb 100% cpu'
by changing lib\irb\input-method.rb

      def gets
        if l = readline(@prompt, false)
      def gets
        print @prompt
        if l = $stdin.gets

Which at least doesn't use 100% cpu :)
Wonder if any other libraries have found this weirdness with readline
+ mingw...and why it doesn't happen sometimes. Odd.  msvcrt versioning


More information about the Rubyinstaller-devel mailing list