Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
zX41ZdbW
· 4y ago · 0 comments
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.
Comments
[–]
stoical
4y ago
You 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.