-
Notifications
You must be signed in to change notification settings - Fork 97
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
Switch Resolver to operate on impl Write #199
Conversation
Fixes #121 This is the second major change planned for 0.13. It introduces long awaited The performance is really good, and I like the cleanups that it allowed me to do. |
Performance with just this patch is already improved even if |
I'm also removing the quirky |
@Manishearth can you skim through and confirm if the big picture looks good? |
Actually, one functional change happens to how we react to bomb attack. Since we're populating a buffer, we can't just bail and return I believe it's a fair tradeoff and I'm comfortable with Rust producing different error-scenario output for when the number of placeables exceeds 100, since it's clearly outside of realm of what regular code should produce, but wanted to flag it explicitly here for any reviewers. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this seems good
Two comments: Naming is hard, but I'd expect the signature of Documentation for the new method is TBD still? I know we have problems with docs.rs, but still. |
Forgot what I actually did: I mulled over cross-bundle refs and format-to-parts, and I don't think this change makes either scenario harder. Maybe format-to-parts would be easier, but then also DOM would be the one that doesn't want to consume strings. But all of that is hypothetical anyway. From that big-picture POV, lgtm. |
I like it! Thank you! I'll update the names tomorrow.
Yeah, I need to revisit docs before 0.13 release - they fell behind to the point where I want to do an overhaul rather than per-PR-updates before the release. |
No description provided.