You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creating a new instance of Random every time the method is called can be inefficient. Consider creating a private instance variable for Random and reusing it.
#1582
Open
StoneBlood-bit opened this issue
Aug 21, 2024
· 1 comment
Creating a new instance of `Random` every time the method is called can be inefficient. Consider creating a private instance variable for `Random` and reusing it.
Originally posted by @mateacademy-ai-mentor in #1580 (comment)
The text was updated successfully, but these errors were encountered: