rustc_span: Optimize syntax context updates in spans by petrochenkov · Pull Request #125017 · rust-lang/rust

@rustbot rustbot added S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

T-compiler

Relevant to the compiler team, which will review and decide on the PR/issue.

labels

May 11, 2024

bors added a commit to rust-lang-ci/rust that referenced this pull request

May 11, 2024
rustc_span: Optimize syntax context updates in spans

By updating inline contexts in place, without touching span interner, when possible.

TODO: Run benchmarks and cleanup code if the results are good.

jieyouxu

@rustbot rustbot added S-blocked

Status: Blocked on something else such as an RFC or other implementation work.

and removed S-waiting-on-author

Status: This is awaiting some action (such as code changes or more information) from the author.

labels

May 31, 2024

bors added a commit to rust-lang-ci/rust that referenced this pull request

May 31, 2024
rustc_span: Add conveniences for working with span formats

Also
- Centralize span ctxt updates in `Span::update_ctxt`
- Stop requiring inline and interned ctxts in partially interned format to be synchronized.

This is the refactoring part of rust-lang#125017.

bors added a commit to rust-lang-ci/rust that referenced this pull request

Jun 1, 2024
rustc_span: Add conveniences for working with span formats

Also
- Centralize span ctxt updates in `Span::update_ctxt`
- Stop requiring inline and interned ctxts in partially interned format to be synchronized.

This is the refactoring part of rust-lang#125017.

bors added a commit to rust-lang-ci/rust that referenced this pull request

Jun 2, 2024
rustc_span: Add conveniences for working with span formats

Also
- Centralize span ctxt updates in `Span::update_ctxt`
- Stop requiring inline and interned ctxts in partially interned format to be synchronized.

This is the refactoring part of rust-lang#125017.

@bors bors added S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

and removed S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

labels

Jun 10, 2024

bors added a commit to rust-lang-ci/rust that referenced this pull request

Jun 11, 2024
rustc_span: Add conveniences for working with span formats

This is the refactoring part of rust-lang#125017.

bors added a commit to rust-lang-ci/rust that referenced this pull request

Jun 11, 2024
rustc_span: Add conveniences for working with span formats

This is the refactoring part of rust-lang#125017.

bors added a commit to rust-lang-ci/rust that referenced this pull request

Jun 13, 2024
rustc_span: Add conveniences for working with span formats

This is the refactoring part of rust-lang#125017.

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request

Jun 14, 2024
…rister

rustc_span: Add conveniences for working with span formats

This is the refactoring part of rust-lang#125017.

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request

Jun 14, 2024
…rister

rustc_span: Add conveniences for working with span formats

This is the refactoring part of rust-lang#125017.

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request

Jun 15, 2024
…rister

rustc_span: Add conveniences for working with span formats

This is the refactoring part of rust-lang#125017.

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request

Jun 15, 2024
…rister

rustc_span: Add conveniences for working with span formats

This is the refactoring part of rust-lang#125017.

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request

Jun 15, 2024
…rister

rustc_span: Add conveniences for working with span formats

This is the refactoring part of rust-lang#125017.

rust-timer added a commit to rust-lang-ci/rust that referenced this pull request

Jun 15, 2024
Rollup merge of rust-lang#125829 - petrochenkov:upctxt2, r=michaelwoerister

rustc_span: Add conveniences for working with span formats

This is the refactoring part of rust-lang#125017.

bors added a commit to rust-lang-ci/rust that referenced this pull request

Jun 16, 2024
rustc_span: Optimize more hygiene operations using `Span::map_ctxt`

I missed these in rust-lang#125017.

bors added a commit to rust-lang-ci/rust that referenced this pull request

Jun 16, 2024
rustc_span: Optimize span parent get/set methods

Like rust-lang#125017, but for span parents.

r? `@cjgillot`

bors added a commit to rust-lang-ci/rust that referenced this pull request

Jun 16, 2024
rustc_span: Optimize more hygiene operations using `Span::map_ctxt`

I missed these in rust-lang#125017.

bors added a commit to rust-lang-ci/rust that referenced this pull request

Jun 16, 2024
rustc_span: Optimize more hygiene operations using `Span::map_ctxt`

I missed these in rust-lang#125017.

github-actions bot pushed a commit to rust-lang/miri that referenced this pull request

Jun 17, 2024
rustc_span: Optimize more hygiene operations using `Span::map_ctxt`

I missed these in rust-lang/rust#125017.

bors added a commit to rust-lang-ci/rust that referenced this pull request

Jun 20, 2024
rustc_span: Optimize span parent get/set methods

Like rust-lang#125017, but for span parents.

r? `@cjgillot`

flip1995 pushed a commit to flip1995/rust-clippy that referenced this pull request

Jun 28, 2024
rustc_span: Optimize span parent get/set methods

Like rust-lang/rust#125017, but for span parents.

r? `@cjgillot`

Kobzol pushed a commit to Kobzol/portable-simd that referenced this pull request

Feb 3, 2026
rustc_span: Optimize span parent get/set methods

Like rust-lang/rust#125017, but for span parents.

r? `@cjgillot`