3 ms·
uuid? Talk about severe overkill. It would be enough to simply not reuse fds, and just keep assigning them sequentially. A uuid is a 128 bit number - you could
by ars 15y ago
uuid? Talk about severe overkill. It would be enough to simply not reuse fds, and just keep assigning them sequentially.
A uuid is a 128 bit number - you could assign them sequentially forever and not run out before the universe does.
Even 64 bits would be enough to last longer than the computer will no matter how fast you assigned them.
- JoeAltmaier 15y agoYes; but uuids are network-sharable, never expire (never get reused), can be conjured up without cooperation with anybody. You can merge two handle spaces without any issues, ever. Its time to stop prematurely optimizing handles.