Skip to content

Conversation

@garyhuntddn
Copy link
Contributor

See issue #4090

This code extracts out the getting of a type name rather than repeating that 3x.

This increases performance of the hot path through the code.

@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Copy link
Member

@shuding shuding left a comment

Choose a reason for hiding this comment

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

Thanks!

@shuding shuding changed the title performance improvement by reducing calls to toString() fix: Performance improvement by reducing calls to toString() Jun 9, 2025
@shuding shuding merged commit aeb9363 into vercel:main Jun 9, 2025
7 checks passed
dcondrey pushed a commit to dcondrey/swr that referenced this pull request Dec 24, 2025
…4092)

performance improvement by reducing calls to toString()
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