On Thursday, 20 January 2022 at 04:00:59 UTC, forkit wrote: > On Thursday, 20 January 2022 at 00:30:44 UTC, H. S. Teoh wrote: >> >> Do the id's have to be unique? > > yep... > Don't make them random then, but use an incrementor. If you can have ids that aren't integers then you could use uuids too. https://dlang.org/phobos/std_uuid.html