Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ops): Make v8::* ops fast-capable #25

Merged
merged 2 commits into from
Jul 9, 2023

Conversation

mmastrac
Copy link
Contributor

@mmastrac mmastrac commented Jul 9, 2023

Ops that are v8::*-style are fast-capable, so let's implement this. We start sharing a bit of code between fast and slow ops to support this.

@mmastrac mmastrac mentioned this pull request Jul 9, 2023
18 tasks
Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

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

LGTM!

@@ -698,7 +726,7 @@ mod tests {

/// Tests v8 types without a handle scope
#[allow(clippy::needless_lifetimes)]
#[op2(core)]
#[op2(core, fast)]
Copy link
Member

Choose a reason for hiding this comment

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

Did compiler now force you to mark it as fast :D ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It did : 😂

@mmastrac mmastrac merged commit 1851b2e into denoland:main Jul 9, 2023
4 checks passed
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.

None yet

2 participants