From: Meinrad Recheis Date: 2006-03-01T15:43:04+09:00 Subject: Re: Rio: which is the slow one? ------=_Part_19197_19575641.1141195367544 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline you could use the ruby profiler to find out exactly .... -- henon On 3/1/06, Oliver Cromm wrote: > > The speed difference looks too extreme too me: > > > caps =3D [] > File.open('caps_u8.dic').each {|line| caps << line.split(';')[0]} > > =3D> 1.8 seconds > > > > require 'rio' > caps =3D rio('caps_u8.dic').csv(";").columns(0)[].flatten > p caps > > =3D> 50.9 seconds > > > What exactly is so slow here? It's not the /flatten/. > Am I using Rio in a particularly dumb way? > -- > Bug: An elusive creature living in a program that makes it incorrect. > The activity of "debugging," or removing bugs from a program, ends > when people get tired of doing it, not when the bugs are removed. > > ------=_Part_19197_19575641.1141195367544--