Pass String by const reference [3.0] by dirkmueller · Pull Request #6583 · esp8266/Arduino
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
mentioned this pull request
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters