rise-lang / shine

The Shine compiler for the RISE language
https://rise-lang.org
MIT License
73 stars 8 forks source link

Auto tuning executor uses global best variable #221

Open johanneslenfers opened 2 years ago

johanneslenfers commented 2 years ago

The auto tuning executor object uses a global best variable to avoid repetitions of slow executions. This can be problematic, if the object is used not in context of a tuning experiment.

object execution {
  var best:Option[Double] = None