Skip to content

Instantly share code, notes, and snippets.

@marshall007
Last active August 29, 2015 13:58
Show Gist options
  • Save marshall007/9965388 to your computer and use it in GitHub Desktop.
Save marshall007/9965388 to your computer and use it in GitHub Desktop.

using .coerceTo('array')

  • Collections.get: 12561ms
  • Collections.get: 12592ms
  • Collections.get: 12242ms
  • Collections.get: 13111ms
  • Collections.get: 12918ms

using cursor.toArray()

  • Collections.get: 7023ms
  • Collections.get: 6791ms
  • Collections.get: 7340ms
  • Collections.get: 6085ms
  • Collections.get: 5863ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment