chore(deps): update Rust dependencies
- Bumped versions of multiple crates (e.g., aho-corasick 1.1.3→1.1.4, anstream 0.6.19→0.6.21, windows-sys 0.59.0→0.61.2) for bug fixes, security patches, and performance improvements.
- Removed libc dependency from a package and renamed wasi to wasip2 as part of upstream changes.
1a1eabd
12 days ago
by mattsu2020
-7.39%
chore: update Rust dependencies to latest versions
- Updated jiff from 0.2.17 to 0.2.18
- Updated jiff-static from 0.2.17 to 0.2.18
- Updated libc from 0.2.178 to 0.2.179
- Updated proc-macro2 from 1.0.104 to 1.0.105
- Updated quote from 1.0.42 to 1.0.43
- Updated hashbrown from 0.15.4 to 0.15.5
- Updated syn from 2.0.111 to 2.0.113
- Updated zmij from 1.0.2 to 1.0.12
These updates bring bug fixes, security patches, and performance improvements.
aef49e7
4 days ago
by mattsu2020
+7.79%
fix: update FreeBSD CI prepare steps to force package repo update
Remove stale package repository SQLite file and force update before installing packages in FreeBSD CI workflows. This prevents installation failures due to outdated package databases, improving reliability in automated builds.
09a6003
4 days ago
by mattsu2020
+6.66%
ci: configure FreeBSD pkg repo in GitHub Actions workflows
Updated the prepare steps in both FreeBSD CI jobs to write the repository configuration to /usr/local/etc/pkg/repos/FreeBSD.conf before updating and installing packages. This ensures the correct pkg repository is used, preventing potential update failures or outdated package sources.
67f23a4
4 days ago
by mattsu2020
-14.45%
chore(ci): ensure pkg repos directory exists in FreeBSD workflow
Add mkdir -p /usr/local/etc/pkg/repos to prepare steps in both jobs to prevent configuration failures if the directory is missing.
6f0b1c8
4 days ago
by mattsu2020
+10.98%
perf(sort): compute line_count only when needed to optimize performance
Refactor parse_lines to conditionally calculate line_count based on whether
selections, num_infos, floats, or numeric mode require reservations,
avoiding unnecessary computation when line_count is not used.
cce6eaa
4 days ago
by mattsu2020
-14.83%
Merge branch 'main' into sort/sort-merge-fdlimit.sh
7d41a89
4 days ago
by mattsu2020
+3.85%
refactor(sort): simplify line count calculation in parse_lines
Always compute line count and reserve vector capacities, removing the conditional 'needs_line_count' check for cleaner code and consistent behavior.
259f6c9
4 days ago
by mattsu2020
-3.72%
feat(sort): optimize line parsing by precomputing line breaks
Add `line_breaks` field to `ChunkContents` and `RecycledChunk` structs to store separator indices.
Modify `parse_lines` function to collect all line break positions in a single pass, avoiding redundant iterations over input data.
This improves performance by reducing the number of times the input is scanned for separators.
56c2566
4 days ago
by mattsu2020
-2.99%
refactor(sort): replace line_breaks Vec with line_count_hint for memory efficiency
Replace the `line_breaks` vector, which stored all line separator indices, with a `line_count_hint` usize field. This change estimates the number of lines using the hint (or a default calculation) instead of pre-computing and storing all break positions, reducing memory allocations and improving performance in the sort utility's chunk parsing logic. The hint defaults to a calculated estimate based on buffer size if not provided.
15df4aa
4 days ago
by mattsu2020
+33.74%
perf(sort): optimize line parsing and tokenization for small chunks and unused features
- Compute exact line count for chunks <= 64KB or when hint is 0 to improve accuracy
- Skip tokenization and data extraction in Line::create when not required by settings, enhancing performance for simple sorts or small inputs