diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-10-24 15:48:48 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-24 19:48:48 +0000 |
commit | eedf243b5ea98d22649bb0445444719a2fc12c59 (patch) | |
tree | 8f31d76e6223c195afb848f42d1ec7b9115bc7e1 /cli/emit.rs | |
parent | ea641897c92e3975dd102b31c1419720df358d12 (diff) |
perf(compile): pass module source data from binary directly to v8 (#26494)
This changes denort to pass a static reference of the moude source bytes found in the binary to v8 instead of copying it.
Diffstat (limited to 'cli/emit.rs')
-rw-r--r-- | cli/emit.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/emit.rs b/cli/emit.rs index b3f4a4477..ad200af05 100644 --- a/cli/emit.rs +++ b/cli/emit.rs @@ -60,6 +60,7 @@ impl Emitter { continue; }; + // todo(https://github.com/denoland/deno_media_type/pull/12): use is_emittable() let is_emittable = matches!( module.media_type, MediaType::TypeScript |