Skip to content

Eschew arena::Arena in variance.rs - #21987

Merged
bors merged 1 commit into
rust-lang:masterfrom
pnkfelix:eschew-arena-in-variance-analysis
Feb 7, 2015
Merged

Eschew arena::Arena in variance.rs#21987
bors merged 1 commit into
rust-lang:masterfrom
pnkfelix:eschew-arena-in-variance-analysis

Conversation

@pnkfelix

Copy link
Copy Markdown
Contributor

Use a TypedArena rather than an Arena for the backing storage of variance analysis.

(The code was not using the main feature of Arena in the first place, since all of the alloc calls were on the same type.)

…ance analysis.
(The code was not using the main feature of Arena in the first place,
since all of the `alloc` calls were on the same type.
@rust-highfive

Copy link
Copy Markdown
Contributor

r? @huonw

(rust_highfive has picked a reviewer for you, use r? to override)

@pnkfelix

Copy link
Copy Markdown
ContributorAuthor

spawned off of #21972.

@huonw

huonw commented Feb 5, 2015

Copy link
Copy Markdown
Contributor

@bors r+ 50c674 rollup

@pnkfelix

Copy link
Copy Markdown
ContributorAuthor

(also, anyone can review this. It is a trivial refactoring from one API to another.)

@reem

reem commented Feb 5, 2015

Copy link
Copy Markdown
Contributor

@huonw you dropped a 2 at the end of that hash, does bors still catch that?

@pnkfelix

Copy link
Copy Markdown
ContributorAuthor

@bors r=huonw 50c6742 rollup

@pnkfelix

Copy link
Copy Markdown
ContributorAuthor

@reem (apparently not!)

@huonw

huonw commented Feb 5, 2015

Copy link
Copy Markdown
Contributor

@reem it catches any prefix that's at least 4 characters long (at least, I think that was the behaviour last time I talked to @barosl), in any case, @bors is proactive about alerting about malformed r+'s.

@bors

bors commented Feb 5, 2015

Copy link
Copy Markdown
Collaborator

🙀 You have the wrong number! Please try again with 50c6742.

@huonw

huonw commented Feb 5, 2015

Copy link
Copy Markdown
Contributor

(Like that, I guess.)

Manishearth added a commit to Manishearth/rust that referenced this pull request Feb 6, 2015
…nalysis, r=huonw
Use a TypedArena rather than an Arena for the backing storage of variance analysis.
(The code was not using the main feature of Arena in the first place, since all of the `alloc` calls were on the same type.)
@bors
bors merged commit 50c6742 into rust-lang:masterFeb 7, 2015
lnicola pushed a commit to lnicola/rust that referenced this pull request May 4, 2026
Sign up for freeto 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.

5 participants

@pnkfelix@rust-highfive@huonw@reem@bors