|
|
|
|
|
by MatejKafka
815 days ago
|
|
Not exactly. Non-native PowerShell pipelines are executed in a single thread, but the steps are interleaved, not buffered. That is, each object is passed through the whole pipeline before the next object is processed. This is non-ideal for high-performance data processing (e.g. `cat`ing a 10GB file, searching through it and gzipping the output), but for 99% of daily commands, it does not make any difference. cmd.exe uses standard OS pipes and behaves the same as UNIX shells, same as Powershell invoking native binaries. |
|