|
|
|
|
|
by loeg
2719 days ago
|
|
> The entire program is 1 write syscall that outputs the answer. I don't think it's theoretically possible to get faster than that. If stdout happens to be a socket, setsockopt + SO_SNDBUF might help runtime. But that is an extremely byzantine scenario. Another consideration might be a fast CPU attached to a fast but tiny icache and dcache with very slow memory, where reading the pregenerated string is slower than computing it. |
|