mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
perf: two minor perf refactors in InvokeIpcCallback() 1. Allocate the CallbackScope on the stack instead of the heap 2. Skip a redundant call to node::Environment::GetCurrent() Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Charles Kerr <charles@charleskerr.com>
3.2 KiB
3.2 KiB