Skip to content

Instantly share code, notes, and snippets.

@hussachai
Created November 22, 2015 01:43
Show Gist options
  • Save hussachai/0884be1bf9aad8879e55 to your computer and use it in GitHub Desktop.
Save hussachai/0884be1bf9aad8879e55 to your computer and use it in GitHub Desktop.
Filter then sort then map then collect
+----------+-------------+---------+-------+
| Language | Benchmark | Score | Error |
+----------+-------------+---------+-------+
| Java | Collections | 13,615 | 255 |
| Java | Streams | 11,861 | 213 |
| Scala | Collections | 45,009 | 805 | <-- (3)
| Scala | Streams | 56,409 | 882 | <-- (2)
| Scala | Views | 139,639 | 2,875 | <-- (1)
+----------+-------------+---------+-------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment