Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-2410] Make swift-demangle IO incremental #45017

Closed
belkadan opened this issue Aug 19, 2016 · 1 comment
Closed

[SR-2410] Make swift-demangle IO incremental #45017

belkadan opened this issue Aug 19, 2016 · 1 comment
Assignees
Labels
compiler The Swift compiler in itself good first issue Good for newcomers improvement

Comments

@belkadan
Copy link
Contributor

Previous ID SR-2410
Radar rdar://problem/23432183
Original Reporter @belkadan
Type Improvement
Status Closed
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Improvement, StarterBug
Assignee @keith
Priority Medium

md5: ccfb25249b3f6f0b550471caa96d6f04

Issue Description:

When you type:

$ xcrun swift-demangle
< input1
< input2
< Ctrl+D
> output1
> output2

You don’t get any output until you Ctrl+D to close the stream. Could we make swift-demangle incremental line by line (or \0 by \0 if needed)? I.e.:

$ xcrun swift-demangle
< input1
> output1
< input2
> output2
< Ctrl+D

This would have general memory usage and performance goodness for piped code.

@keith
Copy link
Collaborator

keith commented Aug 19, 2016

I have a possible patch for this here #4412

Feedback welcome!

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler The Swift compiler in itself good first issue Good for newcomers improvement
Projects
None yet
Development

No branches or pull requests

2 participants