Skip to content

Commit 8a97f90

Browse files
authored
Update MathUtils.js
1 parent 03fe7d3 commit 8a97f90

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/math/MathUtils.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ function generateUUID() {
2424
_lut[ d2 & 0x3f | 0x80 ] + _lut[ d2 >> 8 & 0xff ] + '-' + _lut[ d2 >> 16 & 0xff ] + _lut[ d2 >> 24 & 0xff ] +
2525
_lut[ d3 & 0xff ] + _lut[ d3 >> 8 & 0xff ] + _lut[ d3 >> 16 & 0xff ] + _lut[ d3 >> 24 & 0xff ];
2626

27-
return uuid;
27+
// .toLowerCase() here flattens concatenated strings to save heap memory space.
28+
return uuid.toLowerCase();
2829

2930
}
3031

0 commit comments

Comments
 (0)