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: Use take method for naga::Arena #7176

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Conversation

junjunjd
Copy link
Contributor

@junjunjd junjunjd commented Feb 18, 2025

Connections
#6509

Description
Use take method for naga::Arena to avoid unnecessary cloning

Testing
Run cargo xtask test and all tests passed

Checklist

  • Run cargo fmt.
  • Run taplo format.
  • Run cargo clippy. If applicable, add:
    • --target wasm32-unknown-unknown
  • Run cargo xtask test to run tests.
  • Add change to CHANGELOG.md. See simple instructions inside file.

@junjunjd junjunjd changed the title feat: Add take method to Arena feat: Add take method to naga::Arena Feb 18, 2025
Add take method to Arena to avoid unnecessary cloning.
@junjunjd junjunjd force-pushed the feat/use-take-for-arena branch from cade125 to b2c57f6 Compare February 18, 2025 10:12
@junjunjd junjunjd changed the title feat: Add take method to naga::Arena feat: Use take method for naga::Arena Feb 18, 2025
@junjunjd junjunjd marked this pull request as ready for review February 18, 2025 10:13
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.

2 participants