-
-
Notifications
You must be signed in to change notification settings - Fork 112
chore: add a lot of tests with fixes #421
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
- Optimize Loc::new() to eliminate string allocations during byte-to-char conversion - Replace HashMap with IndexMap for better cache performance in models - Use SmallVec for commonly small collections (ranges, statements, declarations) - Flatten cache structure with combined keys for better memory layout - Optimize merge operations to use HashSet for O(1) lookup instead of dedup_by - Add helper functions for efficient data structure conversions - Use more efficient parallel processing patterns Co-authored-by: MuntasirSZN <161931072+MuntasirSZN@users.noreply.github.com>
- Update miri_tests.rs to use constructors instead of direct struct initialization - Replace Vec::new() with appropriate SmallVec constructors in tests - Fix capacity assertions to match SmallVec minimums - Ensure all tests compile and run correctly with new optimized data structures Co-authored-by: MuntasirSZN <161931072+MuntasirSZN@users.noreply.github.com>
…omprehensive configuration Co-authored-by: MuntasirSZN <161931072+MuntasirSZN@users.noreply.github.com>
Co-authored-by: MuntasirSZN <161931072+MuntasirSZN@users.noreply.github.com>
…timizations Co-authored-by: MuntasirSZN <161931072+MuntasirSZN@users.noreply.github.com>
chore: another clippy fix Update docs/cache-configuration.md Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Update src/bin/core/cache.rs Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Update src/cache.rs Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> remove allow unused
Co-authored-by: MuntasirSZN <161931072+MuntasirSZN@users.noreply.github.com>
…used code Co-authored-by: MuntasirSZN <161931072+MuntasirSZN@users.noreply.github.com>
… checks Co-authored-by: MuntasirSZN <161931072+MuntasirSZN@users.noreply.github.com>
Co-authored-by: MuntasirSZN <161931072+MuntasirSZN@users.noreply.github.com>
Co-authored-by: MuntasirSZN <161931072+MuntasirSZN@users.noreply.github.com>
…opying code Co-authored-by: MuntasirSZN <161931072+MuntasirSZN@users.noreply.github.com>
Co-authored-by: MuntasirSZN <161931072+MuntasirSZN@users.noreply.github.com>
Co-authored-by: MuntasirSZN <161931072+MuntasirSZN@users.noreply.github.com>
Co-authored-by: MuntasirSZN <161931072+MuntasirSZN@users.noreply.github.com>
…filter async vars, add tests
|
|
|
@cordx56 @avifenesh We hit a roadblock with miri now. rust-lang/miri#602 |
|
🤖 Bot: PR has not seen activity in 30 days and will therefore be marked as stale. It will be closed in 7 days if no further response is found. |
|
@cordx56 this is the one. I will come back to fix miri and machete, though it works as far as i know. After merge, I would like to work on logging then release v1 for now. Other prs can be merged at that time. |
No description provided.