-
Notifications
You must be signed in to change notification settings - Fork 678
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
Update README.md #107
base: main
Are you sure you want to change the base?
Update README.md #107
Conversation
escape/unescape for get all characters without using deprecated methods
Using |
Also, all the current formulas were found using the automatic methods. |
@hazzik ok - but I think such information should be included in documentation (because lack of that I was deluded and loose a lot of time on try to solve this problem with "C" - and finnaly I ask on StackOverflow). It is not trivial (to get that 'critical' letter "C" without using deprecated methods). And in case when deprecated method stops work, this is also some kind of semi-protection (because escape is not strictly deprecated). We can also add information that deprecated method was used because of size-optimalization. Can you give som link which shows that this technique was discovered earlier? Then we change links to that source. (we can also change text in more proper way - if you have some alternative proposition) |
optimization: @hazzik I see that you like optimizastions some time a go I give proposition #70 (2 years ago) to introduce simple "compression" (actually conversion) - and finnaly I do it myself yesterday - look on this little project - may be it will be interesting for you (it gives ~10x smaller code and this proportion increase when input code size growths). For me in that project it was important to use non-deprecated methods in decompression code (I not introduce this solution there yet) to get more "durable" version |
fix text in (un)escaepe section
I like the idea of encoding the characters into numbers in a bootstrap to save space. Have you thought about using octal sequences? This would save some some space per characters: EG: eval(eval("'91419154914591629164950961951'".replace(/9/g, "\\"))) The bootstrap code is ~25k but maybe we can save some bytes by replacing the quotes or backspace. |
fix typos
@aemkei Interesting idea - In free time I will check this and compare with base4. However currently I don't understand how abort(1) is coded inside Update: |
Find forum from 2013 witch escape/unescape
I managed to reduce it to 5k, see my PR |
@aemkei I analyse and test you proposition details here (base4 is better) and I propose more promising modification which (in details) I analyse in near future |
escape/unescape for get all characters without using deprecated methods