Skip to content

Conversation

earlephilhower
Copy link
Collaborator

@earlephilhower earlephilhower commented Dec 9, 2019

Fixes #6524

Should help with speed of output when printing large flash strings to
things like a file or a TCP connection.

Use a 128 byte chunk in a temp buffer to send data using write(),
reducing the # of write calls by ~127x.

Fixes esp8266#6524

Should help with speed of output when printing large flash strings to
things like a file or a TCP connection.

Use a 128 byte chunk in a temp buffer to send data using write(),
reducing the # of write calls by ~128x.
@earlephilhower earlephilhower added this to the 2.7.0 milestone Dec 9, 2019
@devyte devyte merged commit 759ba27 into esp8266:master Dec 10, 2019
@earlephilhower earlephilhower deleted the printspeedup branch December 10, 2019 03:54
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.

Print::print(const __FlashStringHelper *) is very inefficient

3 participants