Skip to content

Virama with mc width should also be capped at 2 - #225

Merged
jquast merged 1 commit into
masterfrom
jq/virama-mc-capped
Jun 5, 2026
Merged

jquast merged 1 commit into
masterfrom
jq/virama-mc-capped

Conversation

@jquast

@jquast jquast commented Jun 5, 2026

Copy link
Copy Markdown
Owner

follows up #222, #223, #224!

Comment thread tests/test_core.py Fixed
Comment thread tests/test_core.py Fixed
@codspeed

codspeed Bot commented Jun 5, 2026 •

Copy link
Copy Markdown

Merging this PR will improve performance by 15.85%

⚡ 2 improved benchmarks
✅ 86 untouched benchmarks

Performance Changes

Benchmark BASE HEAD Efficiency
⚡ test_wcswidth_brahmic_devanagari 2.2 ms 1.9 ms +16.55%
⚡ test_width_brahmic_devanagari 2.4 ms 2.1 ms +15.16%

Tip

Curious why this is faster? Comment @codspeedbot explain why this is faster on this PR, or directly use the CodSpeed MCP with your agent.


Comparing jq/virama-mc-capped (597cd30) with master (99e538b)

Open in CodSpeed

@jquast
jquast force-pushed the jq/virama-mc-capped branch from 3dc3ae1 to 1647f2d Compare June 5, 2026 06:35
@jquast
jquast force-pushed the jq/virama-mc-capped branch from 1647f2d to 597cd30 Compare June 5, 2026 06:36
@jquast jquast changed the title bugfix virama with mc width is capped at 2, also Virama with mc width is also capped at 2 Jun 5, 2026
@jquast jquast changed the title Virama with mc width is also capped at 2 Virama with mc width should also be capped at 2 Jun 5, 2026
@jquast
jquast merged commit e4f76d5 into master Jun 5, 2026
30 checks passed
@jquast
jquast deleted the jq/virama-mc-capped branch June 5, 2026 06:38
@codecov

codecov Bot commented Jun 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (99e538b) to head (597cd30).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #225   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           23        23           
  Lines         1566      1570    +4     
  Branches       388       390    +2     
=========================================
+ Hits          1566      1570    +4     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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