Randomizing the prime numbers

isn’t finding prime number a suitable candidate for a procedural code than constraints…??
isn’t it better to put it inside pre_randomize from performance perspective ?

dave_59, any thoughts ??