Hi,
This is most likely because the logic to sample a large number of numbers is not just: run the same logic to sample a small amount of numbers multiple times.
From a quick look at the code, it uses different kernels to be able to make sure of vectorized instructions in particular.