Random values for generateLocalAlias()#2337
Conversation
Turns out the value space is large enough to not have to worry about duplicates.
t-bast
left a comment
There was a problem hiding this comment.
It would be nice to also detect when we have a collision and log an error (which we can do for example in the register). This way if we completely messed up our maths or have an issue with our random generator, we will detect it?
Done in 3ff4831. |
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2337 +/- ##
==========================================
+ Coverage 84.71% 84.72% +0.01%
==========================================
Files 194 194
Lines 14632 14638 +6
Branches 621 627 +6
==========================================
+ Hits 12395 12402 +7
+ Misses 2237 2236 -1
🚀 New features to boost your workflow:
|
This is an alternative to #2316.
Turns out the value space is large enough to not have to worry about duplicates.