Pass String by const reference [3.0] by dirkmueller · Pull Request #6583 · esp8266/Arduino

@dirkmueller mentioned this pull request

Oct 2, 2019

earlephilhower

@dirkmueller

Passing String by value means a full copy-constructor/temporary
string creation which is slightly inefficient. Avoid that
by using const references.

@d-a-v

d-a-v

@d-a-v d-a-v mentioned this pull request

Jul 10, 2020