electron/shell
Charles Kerr 5d0d15a0b3
perf: prefer NewFromUtf8Literal() over NewFromUtf8() for string literals (#44412)
* perf: prefer NewFromUtf8Literal() over NewFromUtf8() for string literals

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

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

* perf: remove unnecessary calls to c_str()

these just force the code being called to have to recalculate the string length
2024-10-28 14:12:32 +01:00
..
app fix: trace-startup crashing child process on macOS (#44257) 2024-10-16 11:03:00 -04:00
browser fix: crash on netlog connection error (#44406) 2024-10-28 10:24:54 +01:00
common perf: prefer NewFromUtf8Literal() over NewFromUtf8() for string literals (#44412) 2024-10-28 14:12:32 +01:00
renderer perf: prefer NewFromUtf8Literal() over NewFromUtf8() for string literals (#44412) 2024-10-28 14:12:32 +01:00
services/node fix: -Wunsafe-buffer-usage warning in ChunkedDataPipeReadableStream (#44211) 2024-10-14 10:46:24 +02:00
utility chore: remove unused base/ includes (#43688) 2024-09-12 16:05:37 +02:00