Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #3698

Re: Need for speed - array operations

From Chris Lervag <chris.lervag@gmail.com>
Newsgroups comp.lang.ruby
Subject Re: Need for speed - array operations
Date 2011-04-29 09:05 -0500
Organization Service de news de lacave.net
Message-ID <9f6ac8a0a7fedba7d10ac0e96c0f35bb@ruby-forum.com> (permalink)
References <2c5b9893b3d3fa487c6b9737df7c8df2@ruby-forum.com>

Show all headers | View raw


Robert,
I've implemented your tweaked solution and indeed it runs significantly 
faster! In retrospect it looks so obvious, almost embarrasing!

Thanks a million, your effort is appreciated!

Ralf,
yes I am aware of NArray, and probably that will be the optimal 
solution. At some stage I will probably use it, however, at least for 
now, I want to avoid external dependencies and just go with a pure Ruby 
solution.

Thanks,
Chris

-- 
Posted via http://www.ruby-forum.com/.

Back to comp.lang.ruby | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Need for speed - array operations Chris Lervag <chris.lervag@gmail.com> - 2011-04-29 03:54 -0500
  Re: Need for speed - array operations Ralf Mueller <ralf.mueller@zmaw.de> - 2011-04-29 06:05 -0500
    Re: Need for speed - array operations Robert Klemme <shortcutter@googlemail.com> - 2011-04-29 06:23 -0500
  Re: Need for speed - array operations Chris Lervag <chris.lervag@gmail.com> - 2011-04-29 09:05 -0500
  Re: Need for speed - array operations Chris Lervag <chris.lervag@gmail.com> - 2011-04-29 16:45 -0500
  Re: Need for speed - array operations Pirogov Eugene <iamexile@gmail.com> - 2011-05-17 15:26 -0500
    Re: Need for speed - array operations Joel VanderWerf <joelvanderwerf@gmail.com> - 2011-05-17 16:23 -0500

csiph-web