+
Skip to content

Conversation

alexandear
Copy link
Contributor

The PR refactors implementation of the stringifyValue function.

w.Write([]byte("<nil>")) may allocate, better is to use w.WriteString("<nil>")

@gmlewis gmlewis added the NeedsReview PR is awaiting a review before merging. label Sep 25, 2024
Copy link
Collaborator

@gmlewis gmlewis left a comment

Choose a reason for hiding this comment

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

Thank you, @alexandear !
LGTM.

Awaiting second LGTM+Approval from any other contributor to this repo before merging.

Copy link

codecov bot commented Sep 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.97%. Comparing base (2b8c7fa) to head (47271cf).
Report is 123 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3292      +/-   ##
==========================================
- Coverage   97.72%   92.97%   -4.75%     
==========================================
  Files         153      171      +18     
  Lines       13390    11715    -1675     
==========================================
- Hits        13085    10892    -2193     
- Misses        215      729     +514     
- Partials       90       94       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@air-hand air-hand left a comment

Choose a reason for hiding this comment

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

LGTM

@gmlewis gmlewis removed the NeedsReview PR is awaiting a review before merging. label Sep 26, 2024
@gmlewis
Copy link
Collaborator

gmlewis commented Sep 26, 2024

Thank you, @air-hand !
Merging.

@gmlewis gmlewis merged commit eafd379 into google:master Sep 26, 2024
6 of 7 checks passed
@alexandear alexandear deleted the fix/avoid-alloc-stringify branch September 26, 2024 13:05
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

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载