Refactor & Docs: Workspace Architecture, Performance Optimizations & Test Cleanup#57
Merged
Merged
Conversation
…ormance optimizations - Reflect the new Rust workspace (ryx-core, ryx-backend, ryx-query, ryx-python) - Add 'Performance Philosophy' section describing Enum Dispatch and Zero-Allocation Rows - Update CONTRIBUTING.md with new build process and coding conventions - Create docs/doc/internals/performance.mdx for deep dive on optimizations
The test files have been relocated to the new workspace structure within the ryx-python crate (ryx-python/tests/).
- Refactor fields, models, queryset and migrations - Update backend Rust code (MySQL/SQLite) - Add benchmark for query compiler - Fix compiler module declaration (compiler.rs -> compilr.rs)
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.
Overview
This PR brings significant improvements to the Ryx codebase, focusing on documentation alignment, performance optimizations, and codebase cleanup.
Changes Details
1. Documentation Update (Major)
README.mdandCONTRIBUTING.mdto reflect the new Rust workspace structure (ryx-core,ryx-backend,ryx-query,ryx-python).docs/doc/internals/performance.mdxdetailing our extreme performance innovations:RowViewto minimize heap allocations.architecture.mdx,rust-core.mdx,project-structure.mdx).2. Test Cleanup
tests/root directory (17 files deleted).ryx-python/tests/crate within the workspace.3. Refactoring & Improvements
compiler.rstocompilr.rs(internal module refactor) and updated module declarations.ryx-query/benches/query_bench.rs.ryx-backendfor MySQL and SQLite support.fields.py,models.py,queryset.py, and migration modules.4. CI Updates
.github/workflows/ci.ymlfor the new workspace structure.Checklist
cd docs && npm run build)cargo buildpasses for all workspace crates