a6b34dca26
* 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> |
||
---|---|---|
.. | ||
api.mojom | ||
crashpad_support.cc | ||
electron_api_asar.cc | ||
electron_api_clipboard.cc | ||
electron_api_clipboard.h | ||
electron_api_clipboard_mac.mm | ||
electron_api_command_line.cc | ||
electron_api_environment.cc | ||
electron_api_native_image.cc | ||
electron_api_native_image.h | ||
electron_api_native_image_mac.mm | ||
electron_api_native_image_win.cc | ||
electron_api_net.cc | ||
electron_api_shell.cc | ||
electron_api_testing.cc | ||
electron_api_url_loader.cc | ||
electron_api_url_loader.h | ||
electron_api_v8_util.cc | ||
electron_bindings.cc | ||
electron_bindings.h | ||
features.cc |