fish-shell/fish-rust
Johannes Altmanninger 8d2fa4ae95 fish_indent: fix accidentally quadratic perf regression due to chars().last()
Iterator::last() consumes the entire iterator, even for DoubleEndedIterator,
see https://github.com/rust-lang/rust/pull/28125#issuecomment-145070161

Because of this, "at_line_start()" took 90% of

    fish_indent share/completions/git.fish

making it take 1000ms instead of 30 ms. Fix that.
2024-01-07 19:04:54 +01:00
..
src fish_indent: fix accidentally quadratic perf regression due to chars().last() 2024-01-07 19:04:54 +01:00
widestring-suffix Move edition and MSRV to workspace 2023-08-19 15:18:38 +02:00
build.rs Remove ffi_init 2024-01-07 14:37:35 +01:00