Skip to content
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

Add a Path/PathBuf string interner #137

Merged
merged 6 commits into from
Mar 31, 2022
Merged

Add a Path/PathBuf string interner #137

merged 6 commits into from
Mar 31, 2022

Conversation

lopopolo
Copy link
Member

Fixes #120.

Prepare to make a `Path`/`PathBuf` interner using the `cstr` interner as
a template.
All instances of `CString` and `CStr` are converted to `PathBuf` and
`Path`. APIs and types with some variant of "C string" in the name are
converted to "path" equivalents.

All tests and doc strings are updated. `cargo test` succeeds as of this
commit.
@lopopolo lopopolo added the A-interner Area: String interners, data structures, and types. label Mar 31, 2022
@lopopolo
Copy link
Member Author

lopopolo commented Mar 31, 2022

looks like the docs.rs badge is failing markdown link CI because shields.io is down.

@lopopolo lopopolo merged commit 0ecab46 into trunk Mar 31, 2022
@lopopolo lopopolo deleted the lopopolo/path-interner branch March 31, 2022 04:24
@lopopolo lopopolo added the I-path Interner: Path string SymbolTable. label Mar 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-interner Area: String interners, data structures, and types. I-path Interner: Path string SymbolTable.
Development

Successfully merging this pull request may close these issues.

Add a PathBuf/Path interner
1 participant