Skip to content

Conversation

@saethlin
Copy link
Member

@saethlin saethlin commented May 21, 2022

After #2030 and while working on #1935 it became quite clear that we need to do some caching here, because some retag operations generate many calls to log_invalidation, and would thus search the current thread's stack many times for a local crate. This caching fixes that. This handle type also has the nice benefit of tucking away all the ThreadManager + CrateNum logic.

@saethlin saethlin force-pushed the lazy-current-span branch from 4b49702 to 6e0e612 Compare May 21, 2022 14:21
@saethlin saethlin force-pushed the lazy-current-span branch from 6e0e612 to b20c6cf Compare May 22, 2022 22:24
@RalfJung
Copy link
Member

Nice!
@bors r+

@bors
Copy link
Contributor

bors commented May 23, 2022

📌 Commit b20c6cf has been approved by RalfJung

@bors
Copy link
Contributor

bors commented May 23, 2022

⌛ Testing commit b20c6cf with merge d60aa47...

@bors
Copy link
Contributor

bors commented May 23, 2022

☀️ Test successful - checks-actions
Approved by: RalfJung
Pushing d60aa47 to master...

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