Comments (2)
Hello Piotr thanks for this.
Two things need verification :
- histogram counting not being too penalizing for performance
- reverting from one mode to another not being too penalizing for performance either (dictionary backups etc.)
The loss on the sao file is only 2%, so kernel switching should have a near-zero performance hit for it to be considered a benefit, as 95+% of files tested are better compressed with 2-bit mode compared to 1-bit.
from density.
Hi,
I've just realized that the potential gains of fallback would be rather small and present only on hardly compressible blocks. Therefore there's no sense of testing for fallback on well compressible blocks. It would make sense then the compression ratio is worse than about 80% - 90% (ie as percentage of original size) and the compressed stream without signatures is less than about 95% of original size (because otherwise the block is incompressible anyway).
But even if it would work, then 2% - 3% improvement in compression ratio on hardly compressible files wouldn't offset even the penalty of having to recompress the block. Maybe I was just too quick to try to improve things and forgot the emphasis on speed :)
Thanks for attention and have a nice day!
from density.
Related Issues (20)
- Extremely large compiled size HOT 2
- Division by zero in the encoder HOT 1
- decompress error HOT 1
- type qualifier on return type is meaningless
- Crashes from fuzzing HOT 2
- densityxx is a C++ version of density HOT 3
- Windows compilation HOT 3
- Use of unnamed union HOT 2
- MSVC compiler port HOT 2
- Setup continuous integration HOT 1
- Verify decompressed data consistency in benchmark
- Problems with the density_context by multiple uses HOT 23
- why don`t you make standalone binaries ? HOT 5
- Decompression error with dev branch HOT 13
- Flattening of directory hierarchy ? HOT 1
- make install target HOT 1
- Creating a C++/CLI wrapper for C#
- Rust port HOT 23
- API issue: density_decompress () requires a larger buffer than needed to store the decompressed data HOT 3
- Bug and Security
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 density.