-
Notifications
You must be signed in to change notification settings - Fork 1
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
Alternative coding base8 #6
Comments
This was referenced Sep 2, 2020
Closed
I use this tool to analyse. After some test I see that base8 jsf is about 15-20% smaller than base4. So it is worth to use this Idea - at lest at some point in case when base8 decoder will be bigger than base4 we can switch that decoders at some point - when source code is so big that we have profit of using base8. (in case when base4 will be bigger than base8 decoder - we can drop base4 at all) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Instead of #4 approach we can try to use following modification - we assume that each character have 4-digit representation (we use padding 0 - details here)
So we can change this
'\141\154\145\162\164\50\61\51'
to this'\141\154\145\162\164\050\061\051'
-and now we don't need backslashes at all (in base8 code represenation now we use 8 digit - not 9 like before)We need to perform similar investigation like for #4.
Bootstrap: we can use above approach using current small-jsfuck algorithm but whitch
toString(8)
andparseInt(x,8
The text was updated successfully, but these errors were encountered: