But the random number generator suffers from the same issues: how random it really is deppends on the platform. I would suggest joining both ideas: random number plus time stamp.
El jueves, 5 de noviembre de 2015, 17:08:11 (UTC+1), Jeroen Demeyer escribió: > > On 2015-11-05 16:27, Travis Scrimshaw wrote: > > I'm guessing a > > random large number is better because it won't stop working in 2038? > > Mostly, it's better because there is a much smaller chance of > collisions: there is a hidden assumption that there will not be 2 > manifolds created with the same timestamp. The chance of this assumption > being true also depends on the accuracy of the Python time function and > the underlying system call, which are big unknowns. > > Jeroen. > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.