improve decode time

atob() has been replaced with a lookup table, removing previous
conditionals and function calls necessary to decode.
This commit is contained in:
Eric 2025-05-29 16:02:45 +02:00
parent debab62506
commit aacf2324c7
3 changed files with 44 additions and 40 deletions

View file

@ -5,6 +5,6 @@ int
encode(unsigned char *op, int olen, unsigned char *sp, int url);
int
decode(unsigned char *sp, int slen, unsigned char *op, int url);
decode(unsigned char *sp, int slen, unsigned char *op);
#endif