Comments (7)
the bug is reproduced:
if (preset != 1 && !test_ushx_cd("------------------------------------", preset)) return 1;
fail with message:
Fail len: 36, 1:
------------------------------------
2
from unishox2.
@Dan-Do @gzm55 I will fix it. Thanks!!
from unishox2.
@siara-cc
it seems that, 36 continuous dashes -
are recognized as a GUID at here.
from unishox2.
@gzm55 Can we just tell the lib Hey, it's just a normal Vietnamese text. Don't need to check anything, just (de)compress the input
. I guess it will gains some speed :)
from unishox2.
@gzm55 Can we just tell the lib
Hey, it's just a normal Vietnamese text. Don't need to check anything, just (de)compress the input
. I guess it will gains some speed :)
here is the core encoding logic, and cannot be controlled by a switch.
from unishox2.
@Dan-Do I fixed it. I tried the above text it gives output:
Bytes (Compressed/Original=Savings%): 1581/2925=45.95%
Please reclone and see if it works for you.
Thanks @gzm55
from unishox2.
Thank you @siara-cc, the issue is fixed.
from unishox2.
Related Issues (20)
- Benchmark against Snappy HOT 5
- Questions about e.g. handling arbitrary bytestrings; and some feedback HOT 3
- Simple question HOT 4
- Unishox2/Arduino library crashes in append_bits HOT 2
- Errors in linting with tool-cppcheck HOT 2
- Documentation HOT 3
- any golang binding for this? HOT 2
- can u do one just for email? e.g. -.@ HOT 9
- great work by the way, what's the difference between w-olen and without? HOT 2
- Crash in decompression, strlen(NULL) HOT 18
- Reimplementation Licensing HOT 1
- benchmarks available? HOT 1
- Benchmarking Unishox HOT 2
- Can this compression library be used when the input encoding is not UTF8 or the character set is not Unicode? HOT 1
- Optimize wordlist.h for Unishox3 HOT 4
- Unishox3 not working for ESP32 HOT 8
- Can I know in advance what the output size will be from the input in unishox2? HOT 1
- Example to decode a single line from H file
- when is unishox 3 ready? just curious. been watching this repo for a year+ HOT 6
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 unishox2.