We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62ea280 commit 1f8de2eCopy full SHA for 1f8de2e
io/jvm/src/main/scala/fs2/io/ioplatform.scala
@@ -146,6 +146,7 @@ private[fs2] trait ioplatform extends iojvmnative {
146
}
147
148
149
+ // Using null instead of Option because null check is faster
150
private lazy val vtExecutor: ExecutionContext = {
151
val javaVersion: Int =
152
System.getProperty("java.version").stripPrefix("1.").takeWhile(_.isDigit).toInt
0 commit comments