Skip to content

Instantly share code, notes, and snippets.

@darioappsilon
Created May 23, 2022 06:44
Show Gist options
  • Save darioappsilon/1cb2d5843e2f7b1934a4cd553909f049 to your computer and use it in GitHub Desktop.
Save darioappsilon/1cb2d5843e2f7b1934a4cd553909f049 to your computer and use it in GitHub Desktop.
benchmark({
key_to_lookup <- select_random_key()
time(data[data$col1 == key_to_lookup,])
})
## min max mean
## 0.09800 0.22300 0.11424
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment