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

parser option that skips the executable parts of a code #338

Open
rupertford opened this issue May 3, 2022 · 3 comments
Open

parser option that skips the executable parts of a code #338

rupertford opened this issue May 3, 2022 · 3 comments
Assignees

Comments

@rupertford
Copy link
Collaborator

In some situations we only need to parse the declarations of a file. There should be a way to specify this and take advantage of any potential performance improvement.

An example is where we are looking for a declaration in another module.

Another example is for the FORD document generator which does not require information about executable statements.

@rupertford rupertford self-assigned this May 3, 2022
@rupertford
Copy link
Collaborator Author

Created branch 338_skip_exec_stmts

@rupertford
Copy link
Collaborator Author

I have a working version and am seeing performance improvements of around 20%, so nothing earth shattering, but I guess it all helps.

@rupertford
Copy link
Collaborator Author

Making the blockbase match for subroutine strict improves performance quite a bit too. We're down from around 50s to 30s on my laptop using the benchmark in #329 (although the performance from run to run seems to vary quite a bit).

rupertford added a commit that referenced this issue May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant