Comments (2)
Correct. "writeBlockDynamic" should check if the size is bigger than "store".
About the additional block for EOF I have noticed it. I was rather going to remove all the EOF stuff from the bit writer. However, adding an EOF boolean to the compressor could also work.
from compress.
Backported from Go changes.
from compress.
Related Issues (20)
- all goroutines are asleep - deadlock HOT 4
- zstd: Another data corruption on SpeedBestCompression level HOT 7
- Memory Leak HOT 1
- s2 compression panic: index out of range [0] with length 0 HOT 3
- zstd: make use of RLE_Block
- matchLen redeclared in this block HOT 1
- Support go 1.22? HOT 2
- zstd: compression at concurrency 1 produces 2x bigger compressed data HOT 2
- investigate lz4 conversion crash
- BuildZStdDict Testing HOT 6
- zstd: Reuse single encoder/decoder with many dictionaries
- Zstd io.ReadCloser made with ZipDecompressor() doesn't consistently consume all compressed data HOT 3
- Add LZ4 support HOT 1
- is it ok to not close zstd reader?
- Entries being sorted after reading a zip file HOT 1
- zstd EncodeAll cost smaller cpu than zstd.NewWriter.Write() HOT 1
- build error HOT 1
- zstd decoder sometimes thinks a good file is corrupted HOT 6
- zip: support different compression types
- Decompressing gzip: `invalid header` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from compress.