Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sanity Check has high performance impact. #587

Open
MaZiFAU opened this issue Jan 19, 2024 · 0 comments
Open

Sanity Check has high performance impact. #587

MaZiFAU opened this issue Jan 19, 2024 · 0 comments

Comments

@MaZiFAU
Copy link
Collaborator

MaZiFAU commented Jan 19, 2024

This "sanity check":

require(state.check().isEmpty, "Situation space doesn't typecheck after scroll application, " +

incurres a high performance impact (about x60 compared without check, e.g. with "http://mathhub.info/FrameIT/frameworld?RiverScrollSimple") amounting to several seconds (e.g. 12.2s vs 0.2s).

There seem to be no consequences of commenting it out when everything type-checks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant