You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, std::task::name allocates a new String for the current task name, but this is unnecessary and slow.
Note: this probably requires a 'thread lifetime or a reference type specific to thread-local values, perhaps struct ThreadRef<T> { nosend: NoSend, ref: &'static T }, but I haven't really thought through all the use cases.