inst/doc/vignette.R

## ------------------------------------------------------------------------
library(RcppMsgPack)
library(microbenchmark)

x <- 1:1e6
microbenchmark(xpk <- msgpack_pack(x), times=3)
microbenchmark(xu <- msgpack_unpack(xpk), times=3)

Try the RcppMsgPack package in your browser

Any scripts or data that you put into this service are public.

RcppMsgPack documentation built on May 2, 2019, 3:44 a.m.