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 add custom words #62

Open
SheepChef opened this issue Dec 7, 2024 · 1 comment
Open

How to add custom words #62

SheepChef opened this issue Dec 7, 2024 · 1 comment

Comments

@SheepChef
Copy link

I have been using Unishox2 in my project for a while.

Recently, I want to add some custom words in USX_FREQ_SEQ_DFLT .

However, it seems not working at all when I add something more in the const array, and there is no instruction document available.

I simply write like this:

static const char *USX_FREQ_SEQ_DFLT[] = {"\": \"", "\": ", "</", "=\"", "\":\"", "://","https://", "www.", ".com", "http://", ".org", ".net",".cc","magnet:","xt=urn:btih:","xt=urn:sha1:",".co",".xyz",".info",".moe",".io","baidu","tieba","google","pan","csdn","blog","bbs","bilibili",".tv","163"};

So, I am sincerely asking how I can properly add some custom text into the array, so the given text could be compressed more efficiently.

Thanks for reviewing and answering my question.

@siara-cc
Copy link
Owner

siara-cc commented Dec 7, 2024 via email

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