Warning: session_start(): open(/var/lib/php/sessions/sess_evd2i5or21gvfdn1gdjmf9d2hr, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
!7
static int n = 100000;
sbool autoGC;
static long totalIDsMade;
p {
logOutput2();
// if we're second instance, set autoGC on
if (hasBot(programID())) autoGC = true; else makeBot(programID());
// Loop and make IDs!
while licensed {
// MAIN
new HashSet ids;
for i to n: {
S id = aGlobalID();
if (!ids.add(id))
fail("Collision!!!!!!");
}
assertEquals(n, l(ids));
// MAIN
totalIDsMade += n;
printWithTime(n(ids, "ids") + " made without collision (" + toMillions(totalIDsMade) + "M total)");
if (autoGC) gc();
}
}