electron/shell
trop[bot] a6b34dca26
perf: prefer NewFromUtf8Literal() over NewFromUtf8() for string literals (#44429)
* perf: prefer NewFromUtf8Literal() over NewFromUtf8() for string literals

the string length is known at compile time and no need to call ToLocalChecked()

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* perf: string length is known when calling NewFromUtf8(), so use it

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* perf: remove unnecessary calls to c_str()

these just force the code being called to have to recalculate the string length

Co-authored-by: Charles Kerr <charles@charleskerr.com>

---------

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2024-10-28 11:06:10 -05:00
..
app fix: trace-startup crashing child process on macOS (#44276) 2024-10-17 22:23:30 -04:00
browser fix: crash on netlog connection error (#44420) 2024-10-28 14:37:58 +01:00
common perf: prefer NewFromUtf8Literal() over NewFromUtf8() for string literals (#44429) 2024-10-28 11:06:10 -05:00
renderer perf: prefer NewFromUtf8Literal() over NewFromUtf8() for string literals (#44429) 2024-10-28 11:06:10 -05:00
services/node fix: -Wunsafe-buffer-usage warning in ChunkedDataPipeReadableStream (#44223) 2024-10-14 11:37:40 -05:00
utility chore: bump chromium to 129.0.6630.0 (main) (#43087) 2024-08-02 09:02:11 -05:00