Skip to content

Optimize dsc class interface invocations #178

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

Merged
merged 2 commits into from
May 19, 2015

Conversation

raghushantha
Copy link
Member

Given a dsc resource, we used to called AnalyzeDSCClass even on non-class based resource.

This fix optimizes the code paths so that we call the class based interface only for resources implemented using classes.

Existing tests already cover testing the invocation of both the interfaces. this change is just a optimization.

@raghushantha
Copy link
Member Author

I did not run the full test pass on my machine. Will wait for appveyor to do this.

@yutingc
Copy link
Contributor

yutingc commented May 19, 2015

Looks good to me.

raghushantha added a commit that referenced this pull request May 19, 2015
@raghushantha raghushantha merged commit f7e7e47 into BugFixes May 19, 2015
@raghushantha raghushantha deleted the DSCClassResourceEngineFixBranch branch May 19, 2015 16:59
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

Successfully merging this pull request may close these issues.

3 participants