Skip to content

Remove CommandFactory - #5266

Merged
Jason Shirk (lzybkr) merged 1 commit into
PowerShell:masterfrom
lzybkr:remove_commandfactory
Oct 29, 2017
Merged

Jason Shirk (lzybkr) merged 1 commit into
PowerShell:masterfrom
lzybkr:remove_commandfactory

Conversation

@lzybkr

@lzybkr Jason Shirk (lzybkr) commented Oct 28, 2017 •

Copy link
Copy Markdown
Contributor

The class CommandFactory served no real purpose in command lookup
other than to unnecessarily add a few frames to the call stack,
introduce an extra indirection, and add a couple of unnecessary
checks that essential instances like ExecutionContext are not null.

The class CommandFactory served no real purpose in command lookup
other than to unnecessarily add a few frames to the call stack,
introduce an extra indirection, and add a couple of unnecessary
that essential instances like ExecutionContext are not null.
@lzybkr
Jason Shirk (lzybkr) merged commit 8234e3c into PowerShell:master Oct 29, 2017
@lzybkr
Jason Shirk (lzybkr) deleted the remove_commandfactory branch October 29, 2017 04:01
Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj-contribs/PowerShell that referenced this pull request Aug 6, 2026
The class CommandFactory served no real purpose in command lookup
other than to unnecessarily add a few frames to the call stack,
introduce an extra indirection, and add a couple of unnecessary
checks that essential instances like ExecutionContext are not null.
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.

2 participants