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 April 4, 2025, 2:34 a.m.