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 borrowed-only version of ZeroMap #1238

Merged
merged 20 commits into from
Nov 9, 2021

Conversation

Manishearth
Copy link
Member

@Manishearth Manishearth commented Oct 28, 2021

Fixes #676

Part of #1082

The ZeroMapBorrowed code is basically a straight copy-paste of the ZeroMap code (which in turn is extremely thin wrappers itself) tweaked to make it compile. The main work here was in the scaffolding so that the ZeroMap traits know about "borrowed only versions" and how to switch back and forth between them.

@Manishearth Manishearth requested a review from sffc as a code owner October 28, 2021 21:34
@Manishearth Manishearth mentioned this pull request Oct 28, 2021
29 tasks
utils/zerovec/src/map/borrowed.rs Outdated Show resolved Hide resolved
utils/zerovec/src/map/vecs.rs Outdated Show resolved Hide resolved
utils/zerovec/src/map/vecs.rs Outdated Show resolved Hide resolved
utils/zerovec/src/map/vecs.rs Outdated Show resolved Hide resolved
@Manishearth Manishearth requested a review from sffc November 9, 2021 17:50
utils/zerovec/src/map/vecs.rs Outdated Show resolved Hide resolved
utils/zerovec/src/map/vecs.rs Outdated Show resolved Hide resolved
Manishearth and others added 2 commits November 9, 2021 11:40
Co-authored-by: Shane F. Carr <shane@unicode.org>
@Manishearth Manishearth requested a review from sffc November 9, 2021 19:41
@Manishearth Manishearth merged commit 615570c into unicode-org:main Nov 9, 2021
@Manishearth Manishearth deleted the zmborrow branch November 9, 2021 20:06
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.

Add borrowed-only versions of data structs in ZeroVec
2 participants