# NOT RUN {
if (requireNamespace("microbenchmark")) {
microbenchmark::microbenchmark(
icd:::icd9ChildrenShort(c("001", 100:500), onlyReal = TRUE),
icd:::icd9ChildrenShort11(c("001", 100:500), onlyReal = TRUE),
times = 5)
# C++11 about 15% faster for this data
}
# }
Run the code above in your browser using DataLab