mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-28 19:08:50 +00:00
Use cached math library functions in UUID.
This commit is contained in:
1 parent
471f6cb5e5
commit
c29b5f2fef
1 file changed
+1
-1
@@ -673,7 +673,7 @@ var CPStringHashes = new objj_dictionary();
|
||||
var g = @"";
|
||||
|
||||
for(var i = 0; i < 32; i++)
|
||||
g += Math.floor(Math.random() * 0xF).toString(0xF);
|
||||
g += FLOOR(RAND() * 0xF).toString(0xF);
|
||||
|
||||
return g;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user