From: Alan Chen Date: 2002-01-16T03:57:07+09:00 Subject: Re: memory usage question On Wed, Jan 16, 2002 at 03:25:47AM +0900, Mark Hahn wrote: > > > you should consider using a database > > Doing 200 million lookups in a db would take way too long for my script. If > there is no other work-around than using a DB, then I'll have to go back to > Java, which can handle this kind of memory usage. I'm dissapointed that in > one of the first quick scripts I went to Ruby for, Ruby couldn't do the job. > > > It might be worth a try. A quick ruby script connecting to a PostgreSQL or some similiar DB may suprise you. I would think that the DB has a more sophisticated method of managing memory and lookups than I would ever have the time to research and implement. -- Alan Chen Digikata LLC http://digikata.com