Skip to content

improve wcswidth() performance ~30%#171

Merged
jquast merged 2 commits intomasterfrom
jq/benchmark-experiments
Jan 18, 2026
Merged

improve wcswidth() performance ~30%#171
jquast merged 2 commits intomasterfrom
jq/benchmark-experiments

Conversation

@jquast
Copy link
Copy Markdown
Owner

@jquast jquast commented Jan 18, 2026

It depends on the dataset and operation, but this improves performance pretty well for a majority of
cases, str.isascii() returning true very fastly executes in CPython

@jquast jquast merged commit 343eef2 into master Jan 18, 2026
36 checks passed
@jquast jquast deleted the jq/benchmark-experiments branch January 18, 2026 21:38
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