Skip to content

Fix: documentation about 'auto' keyword in cachesim#278

Merged
haochengxia merged 2 commits into1a1a11a:developfrom
laustam:auto_keyword
Jul 24, 2025
Merged

Fix: documentation about 'auto' keyword in cachesim#278
haochengxia merged 2 commits into1a1a11a:developfrom
laustam:auto_keyword

Conversation

@laustam
Copy link
Copy Markdown
Contributor

@laustam laustam commented Jul 24, 2025

Currently, the quickstart_cachesim.md docs mention that the keyword auto will "automatically generate cache sizes at 0.0001, 0.0003, 0.001, 0.003, 0.01, 0.03, 0.1, 0.3 of the working set size". However, the implementation itself uses different sizes, namely 0.001, 0.003, 0.01, 0.03, 0.1, 0.2, 0.4, 0.8, which is set in the set_cache_size function in cli_parser.c.

This PR fixes the mention in the docs and adds a comment for clarity in the codebase.

@laustam laustam requested a review from haochengxia as a code owner July 24, 2025 13:08
@haochengxia
Copy link
Copy Markdown
Collaborator

LGTM. Thank you.

@haochengxia haochengxia merged commit 9ba8009 into 1a1a11a:develop Jul 24, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants