Ibraheem Ahmed

Results 66 issues of Ibraheem Ahmed

Should unprotected guards still defer reclamation until the guard is dropped? This would avoid causing compatibility issues and accidental unsoundness. [`crossbeam-epoch`](https://docs.rs/crossbeam-epoch/latest/crossbeam_epoch/struct.Guard.html#method.defer_destroy) retires immediately, as a reference point.

https://dl.acm.org/doi/pdf/10.1145/3627535.3638491 suggests that batch freeing bypasses thread-local allocator buffers, and freeing from a remote thread, which is extremely expensive (note that mimalloc avoids this problems, but about every other allocator...

performance

## Summary Implements concurrent progress bars. Resolves https://github.com/astral-sh/uv/issues/1209. ## Test Plan https://github.com/astral-sh/uv/assets/34988408/b21bdfbb-8817-4873-a65c-16c9e8c7c460

tracing
cli

Recursive calls to `retire` inside a reclaimer were previously unsound because mutable pointers to local batches were held during reclamation. This PR also adds a `reclaim_all` function, which can be...

It can be useful, rarely, to have access to the `Collector` inside of the reclaimer, such as retiring a `Deferred` after reclamation.

Currently, the queues used by the bounded and unbounded channels (also `ArrayQueue` and `SegQueue`) are not lock-free. The linearization point of a send or receive is moving the tail or...

crossbeam-channel

Right now each entry has an `AtomicBool`, which can waste a lot of memory depending on the alignment of `T`.

performance

## Summary This seems to be one of the most consistent benchmark cases we have in terms of standard deviation: ``` ➜ hyperfine "target/profiling/main pip compile scripts/requirements/airflow.in" --runs 200 Benchmark...

performance
testing

## Summary More marker simplification: - Filters out redundant subtrees based on outer terms, e.g. `a and (a or b)`. - Flattens nested trees internally, e.g. `(a and b) and...

Follow up to https://github.com/astral-sh/uv/pull/4566, `uv add git+https://..foo` followed by `uv add foo --branch foo` should work as expected. Currently it errors. `cargo add` supports this.

enhancement
good first issue
help wanted