c3321715e3
* 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> |
||
---|---|---|
.. | ||
context_bridge | ||
electron_api_context_bridge.cc | ||
electron_api_context_bridge.h | ||
electron_api_crash_reporter_renderer.cc | ||
electron_api_ipc_renderer.cc | ||
electron_api_spell_check_client.cc | ||
electron_api_spell_check_client.h | ||
electron_api_web_frame.cc | ||
electron_api_web_utils.cc | ||
electron_api_web_utils.h |