Conversation
Document the hybrid Python/Rust architecture with core functionality moved to Rust for performance while keeping the @replace_me decorator in Python for runtime warnings. The design now reflects the use of Ruff parser for AST processing and type checker integration.
- Use IndexSet to eliminate clones in expand_paths deduplication - Replace String with &Path for file path parameters throughout - Optimize string allocations in detect_module_name and build_full_path - Remove unnecessary .clone() and .to_string() calls - Pre-allocate vectors with known capacity - Use string slices where possible to avoid allocations
- Add setup.py integration to build/install Rust binary with [tool] extra - Fails with clear errors if Rust is not available when [tool] requested - Migrate README from reStructuredText to Markdown - Update installation docs to reference the [tool] extra - Remove obsolete libcst references
Users now: 1. pip install dissolve (gets Python package + CLI wrapper) 2. cargo install dissolve-python (gets high-performance Rust binary) The wrapper automatically detects and uses the Rust binary when available, providing seamless experience while keeping packaging simple.
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.
No description provided.