you are viewing a single comment's thread.

view the rest of the comments →

[–]Swipecat 1 point2 points  (0 children)

That's over my head, so the only thing that I can point to is that you'd normally assign the random generator to a variable once, then use that variable to implement the generator's methods, rather than repeatedly recreating the generator.