Unishox2 icon indicating copy to clipboard operation
Unishox2 copied to clipboard

how to compile the beta?

Open sprappcom opened this issue 1 year ago • 2 comments

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 avatar Jul 15 '24 22:07 sprappcom

  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?

sprappcom avatar Jul 15 '24 22:07 sprappcom

  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.

siara-cc avatar Jul 17 '24 08:07 siara-cc