3 ms·
> line 56 every time it was invoked would call the uuid4 function to generate a unique id isn’t it Yes, but that line is only evaluated once when the class is
by bakugo 2y ago
> line 56 every time it was invoked would call the uuid4 function to generate a unique id isn’t it
Yes, but that line is only evaluated once when the class is declared (aka when the application starts), it's not evaluated for every instance.