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:
parent
debab62506
commit
aacf2324c7
3 changed files with 44 additions and 40 deletions
2
encode.h
2
encode.h
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue