Ed Page a63dfa0f8c perf: Faster binary-file detection
This switches us from a homegrown implementation to `context_inspector`
- Adds some optimizations by looking for the BoM.
- We used the same algorithm for finding Null bytes
- `context_inspector` caps how much of the buffer is searche though

Besides performance, `content_inspector` also has some known-binary
magic numbers to avoid bad detections.

Fixes #34
2020-08-21 16:29:11 -05:00
2020-08-20 19:37:37 -05:00
2020-08-21 16:29:11 -05:00
2020-08-20 19:37:37 -05:00
2020-08-20 19:37:37 -05:00
2019-01-22 15:01:33 -07:00
2019-01-22 15:01:33 -07:00
2020-08-20 19:37:37 -05:00
2020-08-21 16:29:11 -05:00
2020-08-20 19:37:37 -05:00
2019-11-02 19:57:25 -06:00
2019-10-25 09:58:24 -06:00
2019-01-22 15:01:33 -07:00
2019-01-22 15:01:33 -07:00
2019-10-25 08:17:58 -06:00
2019-10-25 09:48:58 -06:00

typos

Source code spell checker

Build Status codecov Documentation License Crates Status

About

Install

Reference

Contribute

License

Licensed under either of

at your option.

S
Description
No description provided
Readme
114 MiB
Languages
Rust 95.8%
Shell 3.9%
Python 0.2%