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

Improved performance of reading #487

Merged
merged 1 commit into from
Nov 27, 2021

Conversation

till0xff
Copy link
Contributor

No description provided.


let bytesRead = try read(into: &buffer, length: length)

let rv = [UInt8](buffer[0..<bytesRead])
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line could run up to 25 seconds for length = 6 mb

@michaelenger
Copy link
Contributor

@till0xff Could you update the CHANGELOG.md file.

@michaelenger michaelenger self-requested a review September 28, 2021 22:00
@till0xff till0xff force-pushed the speedup-large-file-upload branch from 34541e5 to 8e49e56 Compare September 30, 2021 11:19
@till0xff till0xff force-pushed the speedup-large-file-upload branch from 5f1dcef to ef326c4 Compare September 30, 2021 11:27
@till0xff
Copy link
Contributor Author

till0xff commented Sep 30, 2021

@michaelenger done

Copy link
Contributor

@michaelenger michaelenger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me. What do you think @Vkt0r?

@michaelenger michaelenger requested a review from Vkt0r October 1, 2021 13:23
@Vkt0r
Copy link
Member

Vkt0r commented Nov 27, 2021

Sorry for the delays guys, merging this. It will come in the next release for sure. Thanks for this @till0xff

@Vkt0r Vkt0r merged commit 1e4f51c into httpswift:stable Nov 27, 2021
tomieq added a commit to tomieq/swifterfork that referenced this pull request Aug 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants