Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to compile the beta? #58

Open
sprappcom opened this issue Jul 15, 2024 · 2 comments
Open

how to compile the beta? #58

sprappcom opened this issue Jul 15, 2024 · 2 comments

Comments

@sprappcom
Copy link

make
g++ -std=c++11 -O0 -g -I. -o ../u3b unishox3.cpp ../test_unishox3_beta.cpp -lmarisa
In file included from unishox3.cpp:35:
unishox3.h:86:10: fatal error: ../../madras-trie/src/madras_dv1.hpp: No such file or directory
86 | #include "../../madras-trie/src/madras_dv1.hpp"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
cc1plus: fatal error: ../test_unishox3_beta.cpp: No such file or directory
compilation terminated.
make: *** [Makefile:8: default] Error 1

@sprappcom
Copy link
Author

sprappcom commented Jul 15, 2024

  1. how to make this Beta compression available for js / wasm?

  2. can u pls provide a way to predefine customized compression stuff like for email e.g. @gmail.com @hotmail.com @yahoo.com etc etc so it can be more compressed for the Beta version.

  3. production ready?

  4. possible to do one preset "17" for email addresses?

@siara-cc
Copy link
Owner

  1. I have not gone this way so far so I don't know.
  2. You could use the usx_freq_seq parameter for this purpose.
  3. Unishox3 beta is not production ready. Waiting to make it give better compression ratio.
  4. I did not add a preset for email addresses because there can be so many common addresses. So you could use the answer for (2) above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants