evaluator
May 10th, 2015, 09:47
also for fun, I wrote bunch of BASE conversion code.
here are encoding sizes
guide me, what better way is to form BASE strings.
my variants:
sbase24: B$ 'ABCDEFGHIJKLMNOPQRSTUVWX'
sbase41: B$ 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmno'
sbase53: B$ 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0'
sbase75: B$ 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!#$%()?@_{|}~'
sbase85: ?? what order is better?
sbase91: ?? 94 minus 3 most significant char we choose. maybe: </> for XML/HTML specs?
sbase94: all 94 char.. but in what order?
here are encoding sizes
Code:
;
; BASE94 9/11 1.2222
; BASE91 13/16 1.2307
;- BASE85 4/5 1.25
; BASE79 11/14 1.2727
; BASE75 7/9 1.2857
; BASE72 10/13 1.3
;- BASE64 3/4 1.3333
;- BASE62 5/7 8/11 20/27 1.35 32/43 1.34375
; BASE57 8/11 1.375
; BASE53 5/7 1.4
; BASE41 2/3 1.5
;- BASE32 5/8 1.6
; BASE24 4/7 1.75
;- BASE23 5/9 1.8 9/16 1.7777
;- BASE22 5/9 1.8
;- BASE21 6/11
;- BASE20 7/13
;- BASE19 9/17
guide me, what better way is to form BASE strings.
my variants:
sbase24: B$ 'ABCDEFGHIJKLMNOPQRSTUVWX'
sbase41: B$ 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmno'
sbase53: B$ 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0'
sbase75: B$ 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!#$%()?@_{|}~'
sbase85: ?? what order is better?
sbase91: ?? 94 minus 3 most significant char we choose. maybe: </> for XML/HTML specs?
sbase94: all 94 char.. but in what order?