Re:Bringing Bash's powerful command line editing to Microsof...
by shortlived on Sunday July 01, 2012 @06:08PM
(#4186316)
I can appreciate the technical explanation as a programmer, but as an end-user of PS: I don't care. It's slow.
Re:Bringing Bash's powerful command line editing to Microsof...
by gouranga on Monday July 02, 2012 @03:32AM
(#4187774)
For the majority of tasks it's fast enough. There are a few edge cases though.
Re:Bringing Bash's powerful command line editing to Microsof...
by DeepDuh on Sunday July 01, 2012 @10:44PM
(#4187042)
That's when doing it the Enterprisey way bites you in the ass..
Re:Bringing Bash's powerful command line editing to Microsof...
by gouranga on Monday July 02, 2012 @03:27AM
(#4187759)
I don't understand your comment. There's nothing enterprisey about it.
Re:Bringing Bash's powerful command line editing to Microsof...
by DeepDuh on Monday July 02, 2012 @04:31AM
(#4187935)
I mean that from Microsoft's perspective. They apparently decided to put an object around something as simple and essential to performance as a line buffer. That's when you should have hired a system programmer to do that job.
Don't get me wrong, I actually like their approach in developing an OO-shell - but if it hurts performance that much someone has taken that paradigm too far. It's the typical case of someone with a hammer (OO programmer) trying to approach everything like it were nails.
Effectively where *NIX shells use a fixed size buffer for pipe operations and operate on streams, PS has to convert it to lines first before writing it out.
That doesn't work when you have approximately 25 bytes per line and a 12Gb file which is where the issue is.