Skip to content

Instantly share code, notes, and snippets.

@DaveGit
DaveGit / Either5.scala
Created May 15, 2012 21:59
Either with arity 5
import language.implicitConversions
sealed abstract class Either5[+A, +B, +C, +D, +E] {
def _1 = c1.get
def _2 = c2.get
def _3 = c3.get
def _4 = c4.get
def _5 = c5.get
def c1 = Either5._1Projection(this)
def c2 = Either5._2Projection(this)
64 bit OS
=========
Name PMCPUMark Rank CPUValue TDP Price jvm Build tool OS File system Scala compile time
Intel Core i7-2600K @ 3.40GHz 8529 59 26.65 95W $319.98 Hotspot 1.7.0_17 64 bit Maven ArchLinux OC@ 4.3GHz: 11.541 s * ****
Intel Core i7-3930K @ 3.20GHz 12112 13 22.43 130W $539.99 Hotspot 1.7.0_02 64 bit Gradle 1.4 windows 8 NTFS 13.248 s
Intel Core i7-3720QM @ 2.60GHz 8424 64 20.96 45W $401.89 64 bit Maven 15.152 s
AMD Phenom II X6 1075T @ 3.0GHz 5407 174 41.60 125W $129.99 JRockit 1.6 64 bit Maven 17 s
Intel Core i7-3770K @ 3.50GHz 9632 30 30.87 77W $311.99 64 bit Maven