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

shootout-nbody improvements #14090

Merged
merged 1 commit into from
May 11, 2014
Merged

Conversation

TeXitoi
Copy link
Contributor

@TeXitoi TeXitoi commented May 10, 2014

  • minimize bound check
  • factorise operations
  • use x, y, z instead of [f64, ..3]
  • ~1.15 faster

- minimize bound check
- factorise operations
- use x, y, z instead of [f64, ..3]
- ~1.15 faster
bors added a commit that referenced this pull request May 11, 2014
…xcrichton

- minimize bound check
- factorise operations
- use x, y, z instead of [f64, ..3]
- ~1.15 faster
@bors bors closed this May 11, 2014
@bors bors merged commit db93ca2 into rust-lang:master May 11, 2014
@TeXitoi TeXitoi deleted the shootout-nbody-improvement branch May 11, 2014 14:29
bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 13, 2023
Unify language configuration folding markers with server behaviour

Fixes rust-lang#14089.
flip1995 pushed a commit to flip1995/rust that referenced this pull request Feb 20, 2025
…t-lang#14090)

Removing the `.as_ref()` or `.as_mut()` as the top-level expression in a
closure may change the type of the result. In this case, it may be
better not to lint rather than proposing a fix that would not work.

changelog: [`useless_asref`]: do not remove the `.as_ref()` or
`.as_mut()` call if this would change the type of the enclosing closure

Fix rust-lang#14088
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