perf: enhance decodeParam to check for encoded values by nigrosimone · Pull Request #188 · pillarjs/router

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@nigrosimone

Copy link

@nigrosimone nigrosimone commented

Jan 5, 2026

edited

Loading

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@nigrosimone