Re:Fast function to parse strings into double (binary64) flo...
by kzrdude on Wednesday March 11, 2020 @05:04AM
(#22544244)
A serious question is how can we make microbenchmarks that take this into account? Along the lines of measuring a speedup of an operation, in varying scenarios of cache pressure.
[ Parent
| on HN ]
Re:Fast function to parse strings into double (binary64) flo...
by vbezhenar on Wednesday March 11, 2020 @09:21AM
(#22545570)
I'm not sure about actual implementation, but one approach would be to copy this function 100 times and invoke those copies sequentially. Of course linker must not optimize it into one function, so that's why I'm not sure about actual implementation. May be naive approach would work or may be not.