Skip to content

Conversation

@erikcorry
Copy link
Contributor

No description provided.

@erikcorry erikcorry requested review from a team as code owners December 8, 2025 15:09
@erikcorry erikcorry marked this pull request as draft December 8, 2025 15:09
@codspeed-hq
Copy link

codspeed-hq bot commented Dec 8, 2025

CodSpeed Performance Report

Merging #5656 will not alter performance

Comparing erikcorry/external-type-tags (704634d) with main (b026653)

Summary

✅ 57 untouched
⏩ 30 skipped1

Footnotes

  1. 30 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@erikcorry erikcorry force-pushed the erikcorry/external-type-tags branch from adccd5d to 704634d Compare December 9, 2025 09:34

// V8 14.3+ supports external pointer type tags for security.
#define V8_HAS_EXTERNAL_POINTER_TAGS \
(V8_MAJOR_VERSION > 14 || (V8_MAJOR_VERSION == 14 && V8_MINOR_VERSION >= 3))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since main branch is on v8 14.3 I don't think we need this compile time flag

Comment on lines +16 to +17
kCapnpSchema = 1,
kCapnpInterfaceMethod = 2,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you mind expanding the comments and add a one liner for each id here.

Comment on lines +391 to +392
[[maybe_unused]] constexpr auto tag =
static_cast<uint16_t>(jsg::JsgExternalIds::kCapnpInterfaceMethod);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't we just move this to inside the compile time flag?

@@ -1,5 +1,6 @@
#pragma once

#include "external-tags.h"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need this here, we don't use it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants