Skip to content

Update sortedmap#263

Open
frmdstryr wants to merge 1 commit intonucleic:mainfrom
frmdstryr:update-sortedmap
Open

Update sortedmap#263
frmdstryr wants to merge 1 commit intonucleic:mainfrom
frmdstryr:update-sortedmap

Conversation

@frmdstryr
Copy link
Copy Markdown
Contributor

@frmdstryr frmdstryr commented Apr 29, 2026

This slightly reworks the constructor to add support for tp_vectorcall (~30% faster construction of empty sortedmap when available) and addresses the recent code review items.

Edit: Also adds a special case for doing a sortedmap copy in the constructor.

@frmdstryr frmdstryr force-pushed the update-sortedmap branch 3 times, most recently from d509ae6 to 57de24d Compare April 29, 2026 02:24
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 30, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.52%. Comparing base (d9454af) to head (07dad1b).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #263   +/-   ##
=======================================
  Coverage   97.52%   97.52%           
=======================================
  Files          24       24           
  Lines        1093     1093           
  Branches      167      167           
=======================================
  Hits         1066     1066           
  Misses         13       13           
  Partials       14       14           
🚀 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.

1 participant