capnp-ocaml 2.0: The Road to Unembarrassing Performance
pelzlpj.github.io/capnp-ocaml/2014/09/02/capn...Posted Sep 4, 2014, 3:50 AM UTC
113
Posted Sep 4, 2014, 3:50 AM UTC
It feels a bit like you are optimizing the benchmark, not the library.
I guess that's a matter of perspective. Taking the time to rewrite an RNG as a C extension certainly doesn't make the library any faster, but it means the benchmark results give you better information about library performance because a larger percentage of the benchmark timing comes from library calls.
Oh man... that's depressing. We need some serious cross-module optimization.