Skip to content

Instantly share code, notes, and snippets.

@talosdev
Created July 15, 2019 08:51
Show Gist options
  • Select an option

  • Save talosdev/a626c2d9bc7e3013e1a079dc31e988c2 to your computer and use it in GitHub Desktop.

Select an option

Save talosdev/a626c2d9bc7e3013e1a079dc31e988c2 to your computer and use it in GitHub Desktop.
val pair: Pair<File, Long> = measureTimeMillisPair(::readAndDecodeFile)
val file = pair.first
Log.d(TAG, "Read and decode took ${pair.last}ms")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment