Closed andriyDev closed 3 weeks ago
Previously, we just randomly generated a number and panicked if the ID was already in a set. Now, we are using slotmap to have truly unique IDs. We've in fact completely removed the dependency on rand!
slotmap
rand
Attention: Patch coverage is 99.27007% with 3 lines in your changes missing coverage. Please review.
99.27007%
3 lines
Project coverage is 98.3%. Comparing base (1540180) to head (7b396a3).
1540180
7b396a3
Previously, we just randomly generated a number and panicked if the ID was already in a set. Now, we are using
slotmap
to have truly unique IDs. We've in fact completely removed the dependency onrand
!