Commit Graph

11 Commits (0ce496cafd7f65aff482f1cb431d4e5e70d51965)

Author SHA1 Message Date
Avril 03a3a1bfd0
part: Reworked capacity calculation (static & dynamic,) growth, and bounding to be globally compile-time configurable.
8 months ago
Avril f9068beca1
part: started `partition_one_with()`: Perform one nearest-needle-to-half partition on a buffer. The behaviour of this partition can be controlled with its `method` parameter. There are currently two: `SearchSeq` - search forward then backward in sequence. `SearchPar` - search forward and backward in parallel (NOTE: `SearchPar` is heavy and not well optimised, it will *always* spawn at least one thread.)
8 months ago
Avril ff898fc9b3
Added feature `mapped-file`: Attempt to `mmap()` input where possible to avoid reads. (NOTE: This should be replaced with a cfg-target-unix check, for now it is a default feature that can be disabled.)
8 months ago
Avril 5144539191
Re-worked cargo features & dependencies: Removed previous config features. Added `threads` parallelisation (+ auto `threads-async` internal io_uring support) feature and `unstable` feature for unstable-api using deps.
8 months ago
Avril bd3af1b167
Removed `byte-strings` as a default feature: It causes a slight slowdown, and most people won"t need it"s functionality. `ignore-invalid-arguments` is thus prefered as default.
3 years ago
Avril 67aee7c96e
Added feature (default) `byte-strings`: Operate on raw byte strings instead of UTF8 strings.
3 years ago
Avril 7c85310ca5
Start feature `byte-strings`: Operate on raw byte strings instead of UTF8 strings.
3 years ago
Avril 5f8d472483
Added ignore-invalid-args: (default feature flag) Invalid utf8 arguments are ignored from the input arguments (as they are from the stdin lines.) If disabled, the invalid arg is kept and invalid utf8 characters are replaced with the unicode "invalid character" character instead.
3 years ago
Avril ed75b8b766
Added default features: buffer-output, ignore-output-errors
3 years ago
Avril 5a9edf3f5c
Added testing features for buffering output, and ignoring output errors.
3 years ago
Avril 47df7a1e91
Changed print output to line-by-line (can be re-set to debug print output with feature flag.)
3 years ago