Repository navigation
Migrate sortedset - #96
Merged
Merged
Conversation
fix false positives
already available
move + simplify set cmp logic in sorted_rs
unecessary (and truly unsafe) unsafe casts
enums architecture
already do, and who can then use this information and the sets mathematical properties to dispatch to the least expensive operation possible
for set operations. also allow to call these as methods directly on the pyclass, as well as factorizing a few bounds on SortedSetMethods
|
Want your agent to iterate on Greptile's feedback? Try greploops. |
handling `None` and `Slf` as the same operation)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The PR appears safe to merge; no outstanding correctness issue or repository-rule violation was identified.
Summary
This PR migrates sorted-collection internals into reusable Rust crates and updates the PyO3 bindings, Python stubs, documentation, and regression coverage.
Diagram
%%{init: {'theme': 'neutral'}}%% flowchart LR Python["Python sorted collection API"] --> Bindings["PyO3 bindings"] Bindings --> Sorted["sorted_rs"] Sorted --> Core["Sorted collection storage and algorithms"] Bindings --> Ext["pyo3_ext helpers"] Sorted --> Tools["std_tools"]Reviews (5) · Last reviewed commit: "fix: add `Args::Slf` to correctly handle..."