nushell/crates/nu-engine/src
Stefan Holderbach 7884de1941
Remove some unnecessary static Vecs (#11947)
Avoid unnecessary allocations or larger iterator structs

- Turn static `Vec`s into arrays when possible
- Use `std::iter::once`/`empty` where applicable
- Use `bool::then_some` in `detect column` `.chain`
- Drop in the bucket: de-vec-ing tests
2024-02-24 20:58:01 +01:00
..
call_ext.rs make the ansi command const (#11682) 2024-01-30 16:09:43 -06:00
column.rs Use Record's public API in a bunch of places (#10927) 2023-11-08 14:24:00 +01:00
documentation.rs Name the Value conversion functions more clearly (#11851) 2024-02-17 18:14:16 +00:00
env.rs Add Value::coerce_str (#11885) 2024-02-18 17:47:10 +01:00
eval.rs Remove some unnecessary static Vecs (#11947) 2024-02-24 20:58:01 +01:00
glob_from.rs open, rm, umv, cp, rm and du: Don't globs if inputs are variables or string interpolation (#11886) 2024-02-23 09:17:09 +08:00
lib.rs Allow operator in constants (#10212) 2023-09-05 16:35:58 +02:00
scope.rs Remove Record::from_raw_cols_vals_unchecked (#11810) 2024-02-18 14:20:22 +02:00