nushell/crates/nu-cli
Stefan Holderbach ec528c0626
Refactor source cache into CachedFile struct (#12240)
# Description
Get rid of two parallel `Vec`s in `StateDelta` and `EngineState`, that
also duplicated span information. Use a struct with documenting fields.

Also use `Arc<str>` and `Arc<[u8]>` for the allocations as they are
never modified and cloned often (see #12229 for the first improvement).
This also makes the representation more compact as no capacity is
necessary.

# User-Facing Changes
API breakage on `EngineState`/`StateWorkingSet`/`StateDelta` that should
not really affect plugin authors.
2024-03-20 19:43:50 +01:00
..
src Refactor source cache into CachedFile struct (#12240) 2024-03-20 19:43:50 +01:00
tests IO and redirection overhaul (#11934) 2024-03-14 15:51:55 -05:00
Cargo.toml Use the system clipboard only for explicit copy/paste operations. Addresses issue 11907 (#12179) 2024-03-15 08:59:21 -05:00
LICENSE Fix rest of license year ranges (#8727) 2023-04-04 09:03:29 +12:00