mirror of
https://github.com/junegunn/fzf.git
synced 2026-05-18 06:19:56 +08:00
+16
-7
@@ -4,13 +4,22 @@ CHANGELOG
|
||||
0.70.1
|
||||
------
|
||||
- Performance improvements
|
||||
- Replaced `[]Result` cache with bitmap cache (~86x less memory per cache entry)
|
||||
- Raised `queryCacheMax` from `chunkSize/5` to `chunkSize/2` for broader cache coverage
|
||||
- Replaced procFun map with fixed-size array for faster algo dispatch
|
||||
- Replaced static chunk partitioning with a shared work queue in matcher
|
||||
- Changed chunk size from 1000 to 1024 for clean 64-bit alignment
|
||||
- Fixed AWK tokenizer not treating a new line character as whitespace
|
||||
- Fixed `--{accept,with}-nth` removing trailing whitespaces with a non-default `--delimiter`
|
||||
- The search performance now scales linearly with the number of CPU cores, as we dropped static partitioning to allow better load balancing across threads.
|
||||
```
|
||||
=== query: 'linux' ===
|
||||
[all] baseline: 17.12ms current: 14.28ms (1.20x) matches: 179966 (12.79%)
|
||||
[1T] baseline: 136.49ms current: 137.25ms (0.99x) matches: 179966 (12.79%)
|
||||
[2T] baseline: 75.74ms current: 68.75ms (1.10x) matches: 179966 (12.79%)
|
||||
[4T] baseline: 41.16ms current: 34.97ms (1.18x) matches: 179966 (12.79%)
|
||||
[8T] baseline: 32.82ms current: 17.79ms (1.84x) matches: 179966 (12.79%)
|
||||
```
|
||||
- Improved the cache structure, reducing memory footprint per entry by 86x.
|
||||
- With the reduced per-entry cost, the cache now has broader coverage.
|
||||
- fish: Improved command history (CTRL-R) (#44703) (@bitraid)
|
||||
- Bug fixes
|
||||
- Fixed AWK tokenizer not treating a new line character as whitespace
|
||||
- Fixed `--{accept,with}-nth` removing trailing whitespaces with a non-default `--delimiter`
|
||||
- Fixed OSC8 hyperlinks being mangled when the URL contains unicode characters (#4707)
|
||||
|
||||
0.70.0
|
||||
------
|
||||
|
||||
Reference in New Issue
Block a user