Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
zstd: Make load(32|64)32 safer and smaller (#788)
load3232 and load6432 now limit their slice to its length. This improves safety, since encoders can no longer look at the part beyond the length. It also produces several dozen fewer instructions for bounds checks.
- Loading branch information