Staffan Gustafsson

Results 56 comments of Staffan Gustafsson

Well, one clear thing is that I'm one of many who are more or less confused by this. From the comments here, I gather that `Copy` is most likely the...

I think they are semantically different and that you want separate asts for different semantics. Consider an AstSearcher, where you want to find certain expressions. Reused asts then becomes a...

@SteveL-MSFT For long running commands, this would make it look like powershell has hung. I think we need a layered approach where the lowest level converts output and errors to...

```C# public class ProcessOutput { private string _value; public ProcessOutputKind Kind {get;} public bool IsOutput => Kind == ProcessOutputKind.Output; public string Error => Kind == ProcessOutputKind.Error ? _value : throw...

There is a lot of work going on in .NET core in this area that we should get with the 2.1 release.

@vors They are doing a ton of work regarding efficient file enumeration/projection, and a lot of getting `Span` based interfaces in place to reduce allocations. Looks very promising. I'm a...

There will also be issues with PowerShell classes defined in the current runspace. They will not exist in the new runspaces. Hard problem, for sure.

#7481 Will make this a bit better - haven't tried it yet to see how much, and it will always be slower that just creating the strings.