Skip to content
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

Upgrade Rust #6

Merged
merged 32 commits into from Jun 4, 2014
Merged

Upgrade Rust #6

merged 32 commits into from Jun 4, 2014

Conversation

@metajack
Copy link

metajack commented Jun 1, 2014

This is just a merge from upsream

lifthrasiir and others added 30 commits May 10, 2014
this should make the whole decoder business easy to maintainable.
currently this change is available to Korean and Japanese codecs.
this also keeps up with the recent WHATWG spec changes, including
a merge of GBK18030 with GB18030.
previously it didn't depend on the encoder state at all, resulting in
the incorrect output when the encoder has a complex state.
this directly affects ISO 2022 encodings in the development.
- the last codec error is now stored in the intermediate context,
  so the state machine can use a code like `ctx.err(..), S1(ctx)`.
- fixed a performance regression due to the decoder generalization.
  the decoder performance should be on par with hand-written one
  (less than 10% difference) with `--opt-level=3 -Z lto` rustc flags.
this also tries to fix a possible interference issue between
the benchmark and aggressive optimization passes.
this greatly improves backward mapping performance, with improvements
ranging from 50% to 400%. this also allows for the exact accounting of
the binary size overhead.
Rebuild when external dependencies change
this also changes names of Macintosh encodings from `encoding::all`
to stay away from names assigned by WHATWG Encoding Standard.
@metajack
Copy link
Author

metajack commented Jun 4, 2014

SimonSapin added a commit that referenced this pull request Jun 4, 2014
@SimonSapin SimonSapin merged commit d6dc8d0 into servo Jun 4, 2014
@SimonSapin SimonSapin deleted the rustup-20140528 branch Jun 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants
You can’t perform that action at this time.