Monthly Archives: February 2012

Using data sets in Ruby: performance of Hash vs Set

A data set is a collection of objects that ensures each object is present only once in the collection. In Ruby, there are 2 simple ways to define data sets: use the Set Ruby standard library, or use the Hash … Continue reading

Benchmark, Ruby , , , , ,