|
|
|
|
|
by jiehong
981 days ago
|
|
> That avoids pulling _everything_ from disk in structured wrappers. This is only really possible if the command you're wrapping allows filtering early on. Something like kubernetes allowing to retreiving info about pods in certain states, instead of retrieving all pods and filtering afterwards. Powershell puts a strong emphasis on this "filtering left" concept, that's why you have things like "gci" ("ls" equivalent), allowing you to pre-filter file types/names before a "where" clause, avoiding reading a lot of data. |
|