Skip to content

Conversation

@lnicola
Copy link
Member

@lnicola lnicola commented Apr 17, 2020

libserde_derive has about 21K symbols on Linux. It's not much, but let's not be wasteful avoid the allocations anyway.

r? @edwin0cheng

@edwin0cheng
Copy link
Contributor

LGTM, thanks.

bors r+

@bors
Copy link
Contributor

bors bot commented Apr 17, 2020

@bors bors bot merged commit d426462 into rust-lang:master Apr 17, 2020
@lnicola lnicola deleted the opt-symbol-lookup branch April 17, 2020 08:43
lnicola added a commit to lnicola/rust-analyzer that referenced this pull request Apr 17, 2020
4007: Reduce allocations when looking up proc macro decl r=edwin0cheng a=lnicola

`libserde_derive` has about 21K symbols on Linux. It's not much, but let's ~~not be wasteful~~ avoid the allocations anyway.

r? @edwin0cheng

Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
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