@algernon
I have things
OG print10.c: 556ms
print10-gr.c:
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <unistd.h>
#include <sys/random.h>
#define ITERATIONS 100000000
int main() {
static char maze[ITERATIONS];
getrandom(maze, sizeof(maze), 0);
for (long i = 0; i < ITERATIONS; i++) {
maze[i] = maze[i] % 2 ? '/' : '\\';
}
write(1, maze, ITERATIONS);
return 0;
}
190ms
1/