!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(); } }