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

Optimized multipart download performance #1340

Closed
snej opened this issue Jul 5, 2016 · 0 comments
Closed

Optimized multipart download performance #1340

snej opened this issue Jul 5, 2016 · 0 comments

Comments

@snej
Copy link
Contributor

snej commented Jul 5, 2016

(Please see #1149. I'm just filing this issue as a pointer to it, for the benefit of our release-notes generator script, which only looks at issues not PRs.)

From @robertjpayne :

The CBLMultipartReader is somewhat slow parsing on older devices. This is almost entirely caused by the [CBLMultipartReader deleteUpThrough:] API, mostly because this particular NSMutableData API is very slow though even a realloc here wouldn't be that great.

This slowness is easily observable on an older device ( iPhone 4S in my case ) with instruments time profiler.

@snej snej closed this as completed Jul 5, 2016
@snej snej added this to the 1.3 milestone Jul 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant