Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
ismaildonmez
1y ago
0 comments
Share
Could you clarify how are you testing the speed of the first example where you are not writing anything to stdout? Thanks.
undefined | Better HN
0 comments
default
newest
oldest
qsantos
1y ago
For the first Rust program, where I just write to memory, I just use the time utility when running the program from zsh. Then, I divide the number of bytes written by the number of seconds elapsed. That's why it's not an infinite loop ;)
ismaildonmez
OP
1y ago
Thanks!
j
/
k
navigate · click thread line to collapse