Commit 886cd45
committed
Add
In some cases, speed could be preferable over soundness if we control
the implementation of `Read` that is used for the underlying stream.
By default the feature is _NOT_ activated, keeping the current behavior as-is.
However, when the feature is activated, it gives better performance when the user
ensures correctness by verifying the behavior of the underlying `Read` implementation.fast-and-unsound feature1 parent 56d758b commit 886cd45
2 files changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
| 228 | + | |
228 | 229 | | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
229 | 235 | | |
230 | 236 | | |
231 | 237 | | |
| |||
0 commit comments