This file contains hidden or 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
//> using scala 3.5.0 | |
//> using dep com.github.ichoran::kse3-basics:0.3.11 | |
//> using dep com.github.ichoran::kse3-flow:0.3.11 | |
// Run with scala-cli --power --jmh --jvm=21 ThreadLocalLoom.scala | |
// If you change the classes that have to be benchmarked, you may have to rm -r .scala_build | |
package threadlocalloom.bench |
This file contains hidden or 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
/> using scala 3.6.4 | |
package examplecontextmacro | |
object DoNotUse { | |
def __do_not_use__ : Nothing = throw new Exception("Do not use!") | |
} | |
object MacroImpl { | |
import scala.quoted.* |
OlderNewer