This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"jmhVersion" : "1.21", | |
"benchmark" : "MemoryFootprint", | |
"mode" : "avgt", | |
"threads" : 1, | |
"forks" : 1, | |
"jvm" : "/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre", | |
"jvmArgs" : [], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"jmhVersion" : "1.21", | |
"benchmark" : "collection.benchmark.immutable.SeqMapBenchmark.access_apply", | |
"mode" : "avgt", | |
"threads" : 1, | |
"forks" : 1, | |
"jvm" : "/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/bin/java", | |
"jvmArgs" : [ | |
"-server", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"jmhVersion" : "1.21", | |
"benchmark" : "MemoryFootprint", | |
"mode" : "avgt", | |
"threads" : 1, | |
"forks" : 1, | |
"jvm" : "/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre", | |
"jvmArgs" : [], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"jmhVersion" : "1.21", | |
"benchmark" : "collection.benchmark.ops.immutable.SeqMapBenchmark.transform_zipWithIndex", | |
"mode" : "avgt", | |
"threads" : 1, | |
"forks" : 1, | |
"jvm" : "/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/bin/java", | |
"jvmArgs" : [ | |
"-server", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/build.sbt b/build.sbt | |
index effe9..e3f84 100644 | |
--- a/build.sbt | |
+++ b/build.sbt | |
@@ -1,5 +1,5 @@ | |
import com.typesafe.sbt.pgp.PgpKeys.publishSigned | |
-import org.scalajs.sbtplugin.cross.CrossProject | |
+//import org.scalajs.sbtplugin.cross.CrossProject | |
// Convenient setting that allows writing `set scalaVersion := dotty.value` in sbt shell to switch from Scala to Dotty |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#Modified from https://gist.github.com/wilson428/40c0b8bf7ecba5a301f6 | |
#Added modifications from https://gist.github.com/nbartzokas/416400824ef2dcf4248e4c75c2d25cfa | |
#Thx, http://stackoverflow.com/questions/20723868/batch-rename-dropbox-conflict-files | |
getopts "r" replace && shift | |
folder=${1:-$(pwd)} | |
backup=${2:-$(pwd).backup} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import akka.actor._ | |
import scala.concurrent.duration.Duration | |
import scala.concurrent.{CanAwait, ExecutionContext, Future, TimeoutException} | |
import scala.util.{Failure, Success, Try} | |
object LocalExecutor { | |
private case class Execute(runnable: Try[Runnable]) | |
private class LocalExecutionContext(target: ActorRef) extends ExecutionContext { | |
override def execute(r: Runnable) = target ! Execute(Try(r)) |