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

Improve speed #33

Open
fingolfin opened this issue Mar 22, 2017 · 2 comments
Open

Improve speed #33

fingolfin opened this issue Mar 22, 2017 · 2 comments
Assignees

Comments

@fingolfin
Copy link
Member

Running ward on src/c_oper1.c takes 8 seconds on my system (with LuaJIT, otherwise its more like 16 seconds).

It would be great if this could be sped up.

@fingolfin
Copy link
Member Author

To quote @rbehrends:

the fallback case in the rewriter does not properly skip string literals

@rbehrends
Copy link
Contributor

The underlying problem is that Ward actually goes to quite a bit of effort to eliminate spurious guards. This normally works well with manually written code, but the code generated by gac sometimes contains long functions with many variables, which drives up the cost of data flow analysis by a more than linear factor.

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

2 participants