Ruby (Set vs Array)#include? Part 1
Without inspecting the Ruby source code, I want to provide some evidence to myself about how I think Ruby implemented the Set
and Array
data structures. Let’s create an array with a million sequential integer elements. The first element in the array is the number 0
…