Comments (5)
Hi--unfortunately, I do not speak Chinese. If possible, could you please restate your issue in English?
from migz.
I used GZIP and MiGz to compress the same data respectively, and found that there are several differences in the data compressed by MiGz. The data are as follows:
GZIP1: 1f8b08000000000000003334323634320400ee129cde06000000
MiGz1: 1f8b080400000000020008004d5a0400080000003334323634320400ee129cde06000000
GZIP2: 1f8b08000000000000002b4b2c4b492c2b4b4c010071ec6fe909000000
MiGz2: 1f8b080400000000020008004d5a04000b0000002b4b2c4b492c2b4b4c010071ec6fe909000000
How can I adjust to keep the data compressed by MiGZ consistent with that of GZIP compression?
from migz.
This is expected behavior--MiGz uses a different header than other GZip tools, and may or may not be using the same block compression. However, any GZip program will still be able to decompress a MiGz-compressed file.
Incidentally, other GZip implementations are also free to produce different bytes, so there's no guarantee that two GZip utilities will produce the exact same data when compressing the same file.
from migz.
we have some data compressed using gzip and want to use miGZ, but we are not allowed to ungip and re-miGZ previouse data. Can we still use miGZ to decompress the previouse data that are compressed using gzip? Thanks
from migz.
Unfortunately it's not (in general) possible to do multithreaded decompression of data GZipped by standard utilities, so using MiGz would have no benefit in this case, and MiGz consequently does not support decompression of non-MiGz-compressed data.
As an aside, if you have multiple GZipped files you need to read, you might consider unzipping each file in separate thread to achieve a degree of parallelism.
from migz.
Related Issues (8)
- Windows Command-Line Tools HOT 16
- Can I use this to decompress bgzip compressed files. HOT 4
- hang with certain block sizes and data sets HOT 9
- failed with using MiGzInputStream
- munzip fails on gzipped files HOT 4
- Deadlock seen in MiGzOutputStream#close:329 version 1.0.0 HOT 1
- IndexOutOfBoundsException HOT 2
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 migz.