3 ms·
I forgot to multiply the file 10 times. When I do, the result is 0.209 sec. which is still better than every other result.
by zX41ZdbW 4y ago
I forgot to multiply the file 10 times.
When I do, the result is 0.209 sec. which is still better than every other result.
- stoical 4y agoYou are also using a language function to read the file. In the 'official' github implementations they have to accept the data line by line from stdin - stdin likely being slower than reading a file directly.