Skip to content

Conversation

@MuntasirSZN
Copy link
Collaborator

No description provided.

Copilot AI and others added 30 commits September 2, 2025 20:41
- 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 <[email protected]>
- 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 <[email protected]>
…omprehensive configuration

Co-authored-by: MuntasirSZN <[email protected]>
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
@MuntasirSZN MuntasirSZN added the do-build-check Execute build check on PR label Dec 31, 2025
@MuntasirSZN
Copy link
Collaborator Author

image no resolve button? @cordx56 see unoutdated ones only...

Copy link
Owner

@cordx56 cordx56 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reviewing

@cordx56
Copy link
Owner

cordx56 commented Jan 2, 2026

you can do some edits too instead of just asking me

Okay, but this PR is sent from your repo. Maybe I can't edit your repo, right?

@MuntasirSZN
Copy link
Collaborator Author

you can do some edits too instead of just asking me

Okay, but this PR is sent from your repo. Maybe I can't edit your repo, right?

You can. You are maintainer. Maintainer has edit access (regardless if repo of its own or not, just pr from that branch or repo). @cordx56

@MuntasirSZN MuntasirSZN added do-build-check Execute build check on PR and removed do-build-check Execute build check on PR labels Jan 5, 2026
@MuntasirSZN
Copy link
Collaborator Author

I removed do-build-check label, now all test, lint and build run in all targets. Also made build explicit so we don't have to know which target belongs to which os.

Design

- Resumable downloads
- Download to disk (~/.rustowl/.rustowl-cache)
- After full download done, extract sync

Every component is downloaded and extarcted in parallel.

We still stream to disk, but removed pipe as complex and
we are not using it for anything else. We are using full download and
extract after done.

Reasoning:

- In zip format, seeking while streaming is impossible (possible, with
  numerous caveats, and its not the way zip is made)
- Tar is good, but two implementations, tar stream extract and zip full download
  and extract. So we unify to one way. FULL download and extract after done. Download
  is resumable, also download is streamed to disk, so memory usage is low.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dont-close Don't close this issue or pull request.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants