This optimizes Enum.random/1 and Enum.take_random/2 to be 6.3x times faster and use 2.7x less memory.