<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><div style="direction: inherit;"><br></div><br>Sent from my iPhone</div><div><br>On Sep 25, 2016, at 4:46 PM, Mehdi Amini <<a href="mailto:mehdi.amini@apple.com">mehdi.amini@apple.com</a>> wrote:<br><br></div><blockquote type="cite"><div>To be clear: I’m not worried that this would add cost to the literal case.</div></blockquote><div style="direction: inherit;">Same here. Strlen should be optimised easily enough, and is from what you've found. If anything, all this will do is move that optimisation from the optimiser to the front end which is fine IMO. Might even speed up debug builds just a little :)</div><blockquote type="cite"><div> And the other change I’m suggesting is (relatively) orthogonal and isn’t a blocker for what you want to do.</div></blockquote><div style="direction: inherit;">This is my view too. StringRef(nullptr) is reasonable even if we leave the literal behaviour the same for now.</div><div style="direction: inherit;"><br></div><div style="direction: inherit;">Cheers</div><div style="direction: inherit;">Pete</div></body></html>