Re:Optimizations on Linear Search (2016)
by johndough on Saturday October 03, 2020 @05:32PM
(#24674818)
https://ideone.com/T56tDZ I get close to 5 GB/s with this online IDE and twice that on my 6 year old laptop, which is roughly a factor of 20 to 40 faster than 250 MB/s. A factor of 100 sounds plausible with more modern RAM or larger cache size.
[ Parent
| on HN ]
Re:Optimizations on Linear Search (2016)
by gautamcgoel on Saturday October 03, 2020 @06:17PM
(#24675092)
You only benchmarked the C code. In order to get an apples to apples comparison, you have to benchmark the Go code on the same hardware - your comment compares the runtimes of two different implementations on different hardware.