Skip to content

Conversation

emberian
Copy link
Contributor

Sets the stage for further cleanup (especially mass-slaughter of @)

@graydon
Copy link
Contributor

graydon commented Jun 25, 2013

Eek! I'm sorry, I didn't see you working on this. I started working on a higher-efficiency interner a while back already, just never cleaned it up. It keeps all the strings in one buffer, so no separate-allocations overhead. http://people.mozilla.org/~graydon/interner.rs

(I think we might also consider shifting to a model wherein all strings are "interned" as slices from file buffers, not (re)allocated strings at all, but that's another matter. It's how many other compilers work.)

@emberian
Copy link
Contributor Author

@graydon handily, it's easy to adapt, given that Interner is now a trait rather than some ad-hoc struct impl.

bors added a commit that referenced this pull request Jun 26, 2013
Sets the stage for further cleanup (especially mass-slaughter of `@`)
@bors bors closed this Jun 26, 2013
xFrednet pushed a commit to xFrednet/rust that referenced this pull request May 21, 2022
Fix `cmp_owned` on copy types

fixes rust-lang#8803
fixes rust-lang#7365

changelog: Don't lint `cmp_owned` on `From::from` for copy types
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.

3 participants