deno/cli/ops
Matt Mastracci 3487fde236
perf(core) Reduce copying and cloning in extension initialization (#18252)
Follow-up to #18210:

* we are passing the generated `cfg` object into the state function
rather than passing individual config fields
 * reduce cloning dramatically by making the state_fn `FnOnce`
 * `take` for `ExtensionBuilder` to avoid more unnecessary copies
 * renamed `config` to `options`
2023-03-17 22:15:27 +00:00
..
bench.rs perf(core) Reduce copying and cloning in extension initialization (#18252) 2023-03-17 22:15:27 +00:00
mod.rs perf(core) Reduce copying and cloning in extension initialization (#18252) 2023-03-17 22:15:27 +00:00
testing.rs perf(core) Reduce copying and cloning in extension initialization (#18252) 2023-03-17 22:15:27 +00:00