Comments (5)
@L3P3
Thanks for the suggestion. I may acually do that. (Or use a 7-byte array as another union there. )
Compiler warnings are better to be eliminated.
from paq8px.
Thank you for your alertness and reporting these warnings!
These are false positives. The solution in ContextMap is not compiler-friendly, I have to admit.
The compiler is confused by the fact that we are naming each of the 7 bytes in HashElementForContextMap independently (so they look like just 7 independent bytes) and at the same time we are transitioning from one to another with the p pointer (so we are treating the HashElementForContextMap as a 7-byte array). The warning is about this transition.
We could make the warning disappear, if we'd have a 7-byte array in HashElementForContextMap, but then we wouldn't be able to clearly reference these state bytes independently (such as bitState and bitState0, bitState1, etc.)
from paq8px.
You could use constants for the names like byte[MAP_BITSTATE0]
.
from paq8px.
Knowing these warnings are false positives is good!
So far, with simple binary data, I got no problem at all. I'm using -3, is that ok? I get good results, sometimes better than higher levels.
from paq8px.
Yes, any compression level is good to use. Lower levels use less memory thus it can't remember patterns encounterd too far in the "past". It makes the modelling more adaptive.
99% of the cases higher levels give better compression ratio, but there are some files with radically changing file content where lower leves work better.
from paq8px.
Related Issues (17)
- Add build instructions for linux HOT 10
- Direct buffer compression HOT 5
- Python interface? HOT 1
- Not a real issue but a request HOT 3
- cannot find .exe for windows HOT 2
- Text detection HOT 1
- Not issue but a request. ###How can I increase the compression speed? HOT 6
- Release new Windows Builds and/or update Windows Build Instructions with requirements HOT 2
- vTune Profile HOT 1
- Add info on max input file size HOT 6
- cannot build in linux HOT 2
- Use in production? HOT 12
- Cannot compile on debian HOT 2
- Optimizing text compression HOT 2
- Linux compile problem HOT 1
- Compression Failed on -1 parameter 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 paq8px.