From: Admin Tensor Date: 2012-05-24T01:44:23+09:00 Subject: Re: Memory-efficient set of Fixnums George Dupre wrote in post #1061849: > > Sadly, it's dynamic data. Basically, I start with half a million > integers, then I generate from this a bigger set of integers (using > millions of calls to the include? method in the process), that I must > add to the initial set while avoiding redundancy. Then rinse and repeat > until around 20 million. Hi, Based on your parameter description, I think the bitmap suggested by Brian Candler is the best choice. Regards, Bill -- Posted via http://www.ruby-forum.com/.