Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
inox
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
6
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LARA
inox
Merge requests
!10
disable assertions by default
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
disable assertions by default
github/fork/pruemmer/master
into
master
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Viktor Kuncak
requested to merge
github/fork/pruemmer/master
into
master
8 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
Created by: pruemmer
Disabling (debugging) assertions makes a significant performance difference
👍
0
👎
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
ae4c0279
1 commit,
1 year ago
1 file
+
4
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/main/scala/inox/solvers/princess/AbstractPrincessSolver.scala
+
4
−
1
Options
@@ -38,7 +38,10 @@ trait AbstractPrincessSolver extends AbstractSolver with ADTManagers {
type
Trees
=
IExpression
type
Model
=
SimpleAPI
.
PartialModel
protected
val
p
=
SimpleAPI
.
spawnWithAssertions
private
val
enableAssertions
=
false
ap
.
util
.
Debug
enableAllAssertions
enableAssertions
protected
val
p
=
SimpleAPI
(
enableAssert
=
enableAssertions
)
// Internal maps storing created Constant, Variables, ADT and Function symbols
protected
val
variables
=
new
IncrementalBijection
[
Variable
,
IExpression
]
Loading