Skip to content

Feature for amortized resizes #66

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

Closed
wants to merge 2 commits into from
Closed

Feature for amortized resizes #66

wants to merge 2 commits into from

Conversation

jonhoo
Copy link
Owner

@jonhoo jonhoo commented Aug 10, 2020

Keep in mind that since this is a feature, all evmap instances get amortized if anything in the dependency graph enables the feature (indexmap-rs/indexmap#137 (comment)). This is unfortunate, but given that the alternative is forking evmap, we'll go with the feature approach for now. Hopefully one day we'll have a way to avoid this.

Not landing this yet since it's nightly-only at the moment due to certain methods in atone. Nightly-only will go away once rust-lang/rust#70929 and rust-lang/rust#74217 both stabilize. The first one will land on next stable, but the second has some more time to go first.


This change is Reviewable

Keep in mind that since this is a feature, _all_ evmap instances get
amortized if _anything_ in the dependency graph enables the feature
(indexmap-rs/indexmap#137 (comment)).
This is unfortunate, but given that the alternative is forking evmap,
we'll go with the feature approach for now. Hopefully one day we'll have
a way to [avoid this](rust-lang/cargo#2980 (comment)).

Not landing this yet since it's nightly-only at the moment due to
certain methods [in
`atone`](https://github.com/jonhoo/atone/blob/45ae1e42deaaaaa9a919957ade49982a7ac4655b/src/lib.rs#L58).
Nightly-only will go away once
rust-lang/rust#70929 and
rust-lang/rust#74217 both stabilize. The first
one will land on next stable, but the second has some more time to go
first.
@jonhoo
Copy link
Owner Author

jonhoo commented Dec 21, 2020

This has been folded into https://github.com/jonhoo/evmap and merged in 11.0.0-alpha.6.

@jonhoo jonhoo closed this Dec 21, 2020
@jonhoo jonhoo deleted the griddle branch December 21, 2020 02:24
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