Alex Gaynor

Results 154 issues of Alex Gaynor

This is modeled on the support for multiple types for bytes.

The blocking pool's task queue was protected by a single mutex, causing severe contention when many threads spawn blocking tasks concurrently. This resulted in nearly linear degradation: 16 concurrent threads...

A-tokio
M-blocking
T-performance

When a branch calls a NoReturn function, use the negation of the condition to narrow types after the if statement. For example, after `if val is None: sys.exit()`, `val` is...

ty