Skip to content

perf: enhance decodeParam to check for encoded values#188

Open
nigrosimone wants to merge 1 commit intopillarjs:2.0from
nigrosimone:fast-decode-uri-component
Open

perf: enhance decodeParam to check for encoded values#188
nigrosimone wants to merge 1 commit intopillarjs:2.0from
nigrosimone:fast-decode-uri-component

Conversation

@nigrosimone
Copy link

@nigrosimone nigrosimone commented Jan 5, 2026

If the string is ASCII avoids try/catch + decodeURIComponent

benchmark

@nigrosimone nigrosimone changed the title fix: enhance decodeParam to check for encoded values perf: enhance decodeParam to check for encoded values Jan 5, 2026
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.

1 participant