Prefer CFStringCreateWithCString over CFStringCreateWithBytes if we don't have the size
Prefer CFStringCreateWithCString over CFStringCreateWithBytes if we don't have the size https://bugs.webkit.org/show_bug.cgi?id=279157 Reviewed by NOBODY (OOPS!). It is more efficient that way. * Source/WebCore/platform/text/mac/TextBoundaries.mm: (WebCore::tokenizerForString): CFStringCreateWithCStringNoCopy.
https://github.com/WebKit/WebKit/commit/bd5ead2c0f2c33b10587a70bcd6186fb02b51a7c
EWS run on previous version of this PR (hash https://github.com/WebKit/WebKit/commit/7ab3476d0d3a0cd3765c2b5a3f4e3a2278167fe2)
EWS run on previous version of this PR (hash https://github.com/WebKit/WebKit/commit/1c690b5b355c1e2ac0f2597785f1945fa49c70be)
EWS run on previous version of this PR (hash https://github.com/WebKit/WebKit/commit/0425024d578764164df553f450994bd0cd7bc58f)
EWS run on previous version of this PR (hash https://github.com/WebKit/WebKit/commit/b7c205b8614c8eae606f58dbf97562c371d9fe21)
EWS run on previous version of this PR (hash https://github.com/WebKit/WebKit/commit/f228e7c46c766a5f26b714284797fa1612374457)
EWS run on previous version of this PR (hash https://github.com/WebKit/WebKit/commit/ce52b08e9534199b9126a5b917f7251f7a0dd53e)
EWS run on previous version of this PR (hash https://github.com/WebKit/WebKit/commit/d15afe74c5aff750038c3a7d6ce94c415e62352a)
Note: This PR originally changed https://github.com/WebKit/WebKit/pull/33161 to using the GetBytes since we have the size, but we can make a literal instead so I split that out from this.
This PR is staying as is and can be merged by the way.
EWS run on previous version of this PR (hash https://github.com/WebKit/WebKit/commit/09e6524ae70b006124a5070810c8cbcf576935d9)
EWS run on previous version of this PR (hash https://github.com/WebKit/WebKit/commit/e8f78a2a57e0df6e3f1d8b403dcb871298b2529c)
EWS run on previous version of this PR (hash https://github.com/WebKit/WebKit/commit/3ab17662805d31a1f2b00c668a474f74569605c3)
EWS run on previous version of this PR (hash https://github.com/WebKit/WebKit/commit/00064d920c8b4d26a4e8eeef71624260cdaf52f8)
EWS run on previous version of this PR (hash https://github.com/WebKit/WebKit/commit/1eaa2223598a545b8493abc6b1e8a6af67e4f5aa)
EWS run on previous version of this PR (hash https://github.com/WebKit/WebKit/commit/9874f55daacb3822b3ee74087c0aa0f6d1718d0d)
EWS run on previous version of this PR (hash https://github.com/WebKit/WebKit/commit/d250bbf502158d8cedf4722c7a1b128aed4881f5)
EWS run on previous version of this PR (hash https://github.com/WebKit/WebKit/commit/f0d05826d6763ff8f757908ece86bc0e8d45fe34)
EWS run on previous version of this PR (hash https://github.com/WebKit/WebKit/commit/ffd6288ae7422476e27e7976add6301a129d8248)
EWS run on previous version of this PR (hash https://github.com/WebKit/WebKit/commit/7b17d59d55fc34873da44b5cfe19ad50032618cc)
@achristensen07 Can we please merge this?
EWS run on previous version of this PR (hash https://github.com/WebKit/WebKit/commit/6dfc398e6cb6c7fcc8a0282c26c272dccacbdfd4)
EWS run on previous version of this PR (hash https://github.com/WebKit/WebKit/commit/68f8e06ec4860c36f56a2e1109a832a3d3baaaf2)
EWS run on previous version of this PR (hash https://github.com/WebKit/WebKit/commit/2a30e46a7a546517653654e612a286cd1e8f29c3)
I'm not sure it's a more efficient way, but it's certainly a different way to do the same thing.
@achristensen07 Can we please merge this?
EWS run on previous version of this PR (hash https://github.com/WebKit/WebKit/commit/f570ed14ab5d7f7f96f85cb1f28071be02e2358f)
EWS run on previous version of this PR (hash https://github.com/WebKit/WebKit/commit/48cc5c040b6c5191f56c65643e2ad92137d88ffb)
EWS run on previous version of this PR (hash https://github.com/WebKit/WebKit/commit/052ec7249d613cb8c14e1b71927190478793d248)
EWS run on previous version of this PR (hash https://github.com/WebKit/WebKit/commit/2afb641909e4e0356d0f07da5488ecaa0c809736)
EWS run on previous version of this PR (hash https://github.com/WebKit/WebKit/commit/c6d510ee9b955d0ff2be392b6ec05465cec14c0e)