Skip to content

[Merged by Bors] - chore(Cache): rename HashMap to ModuleHashMap - #21704

Closed
joneugster wants to merge 2 commits into
masterfrom
eugster/cache_rename_hashmap
Closed

joneugster wants to merge 2 commits into
masterfrom
eugster/cache_rename_hashmap

Conversation

@joneugster

@joneugster joneugster commented Feb 11, 2025 •

Copy link
Copy Markdown
Member

Rename Cache.IO.HashMap to Cache.IO.ModuleHashMap to avoid confusion with Std.HashMap and deprecated Lean.HashMap


Open in Gitpod

@joneugster joneugster added easy < 20s of review time. See the lifecycle page for guidelines. t-meta Tactics, attributes or user commands labels Feb 11, 2025
@github-actions

github-actions Bot commented Feb 11, 2025 •

Copy link
Copy Markdown

PR summary 5c273e6c22

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ ModuleHashMap
- HashMap

You can run this locally as follows
## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>

## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>

The doc-module for script/declarations_diff.sh contains some details about this script.


No changes to technical debt.

You can run this locally as

./scripts/technical-debt-metrics.sh pr_summary
  • The relative value is the weighted sum of the differences with weight given by the inverse of the current value of the statistic.
  • The absolute value is the relative value divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).

@grunweg grunweg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Changes LGTM. It compiles, so I presume you caught all references (I didn't check myself).
maintainer merge

@github-actions

Copy link
Copy Markdown

🚀 Pull request has been placed on the maintainer queue by grunweg.

@github-actions github-actions Bot added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Feb 11, 2025
@adomani

adomani commented Feb 11, 2025

Copy link
Copy Markdown
Contributor

Thanks!

I also tested locally with a few cache commands and it does seem to work.

bors d+

in case this conflicts with the other PRs on Cache.

@mathlib-bors

mathlib-bors Bot commented Feb 11, 2025

Copy link
Copy Markdown
Contributor

✌️ joneugster can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@ghost ghost added delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). and removed maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. labels Feb 11, 2025
@joneugster

Copy link
Copy Markdown
Member Author

bors r+

mathlib-bors Bot pushed a commit that referenced this pull request Feb 11, 2025
Rename `Cache.IO.HashMap` to `Cache.IO.ModuleHashMap` to avoid confusion with `Std.HashMap` and deprecated `Lean.HashMap`
@mathlib-bors

mathlib-bors Bot commented Feb 11, 2025

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title chore(Cache): rename HashMap to ModuleHashMap [Merged by Bors] - chore(Cache): rename HashMap to ModuleHashMap Feb 11, 2025
@mathlib-bors mathlib-bors Bot closed this Feb 11, 2025
@mathlib-bors
mathlib-bors Bot deleted the eugster/cache_rename_hashmap branch February 11, 2025 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). easy < 20s of review time. See the lifecycle page for guidelines. t-meta Tactics, attributes or user commands

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants