Skip to content

Comments

moved unnecessary copy of StringOrInit up into the test layer#95

Merged
valenting merged 1 commit intodenoland:mainfrom
edgul:f-cow
Feb 11, 2026
Merged

moved unnecessary copy of StringOrInit up into the test layer#95
valenting merged 1 commit intodenoland:mainfrom
edgul:f-cow

Conversation

@edgul
Copy link
Contributor

@edgul edgul commented Feb 6, 2026

Make StringOrInit use COW for string variant to avoid a copy when calling
quirks::process_match_input

@edgul edgul force-pushed the f-cow branch 3 times, most recently from d5cd67d to c95cb97 Compare February 6, 2026 20:40
@edgul edgul marked this pull request as draft February 6, 2026 20:43
@edgul
Copy link
Contributor Author

edgul commented Feb 6, 2026

I can't seem to change the title of the PR to this:

Make StringOrInit use COW for string variant to avoid a copy when calling
quirks::process_match_input

@edgul edgul marked this pull request as ready for review February 6, 2026 20:48
@valenting
Copy link
Collaborator

This looks good to me. However this is a breaking change, since we modify some public enums and traits, so it will probably need a version bump. @crowlKats @lucacasonato let me know if you have any comments. If not, I'll land this later this week.

@crowlKats
Copy link
Member

no comments from us

@valenting valenting enabled auto-merge (squash) February 11, 2026 11:15
@valenting valenting merged commit e593052 into denoland:main Feb 11, 2026
2 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.

3 participants