Skip to content
Snippets Groups Projects
Commit 018e2a8a authored by Etienne Kneuss's avatar Etienne Kneuss Committed by Manos Koukoutos
Browse files

Add current benchmarks, new benchmark List[T].indexOfOpt with variants

parent f1630356
Branches
Tags
No related merge requests found
Showing
with 0 additions and 11 deletions
import leon.lang._
object PrimeHeuristic {
def maybePrime(n: Int): Boolean = n match {
case 2 * k => false
case 3 * k => false
case 6 * k - 1 => true
case 6 * k + 1 => true
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment