You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are various bases in Euphony, but the most effective among them is Base 64.
Base64 encodes each set of 3 bytes into 4 bytes, it causes an overhead of 33%
TO-BE
I think encoding with less overhead improves communication speed.
Base85 encodes each set of 4 bytes into 5 bytes, it causes an overhead of 25%.
It means Base85 is one of the more efficient Bases than the Base64
I know Base64 is more common and compatible than Base85, but I think it is also worth a try.
When encoding abcdefghijklmnopqrst with each base,
using Base64 is YWJjZGVmZ2hpamtsbW5vcHFyc3Q= (28 character),
and using Base85 is vpA.SwObN*x>?B1zeKohADlbx (25 character)
How
I will implement based on these test cases (using Z85)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
AS-IS
There are various bases in Euphony, but the most effective among them is Base 64.
Base64 encodes each set of 3 bytes into 4 bytes, it causes an overhead of 33%
TO-BE
I think encoding with less overhead improves communication speed.
Base85 encodes each set of 4 bytes into 5 bytes, it causes an overhead of 25%.
It means Base85 is one of the more efficient Bases than the Base64
I know Base64 is more common and compatible than Base85, but I think it is also worth a try.
When encoding
abcdefghijklmnopqrst
with each base,using Base64 is
YWJjZGVmZ2hpamtsbW5vcHFyc3Q=
(28 character),and using Base85 is
vpA.SwObN*x>?B1zeKohADlbx
(25 character)How
I will implement based on these test cases (using Z85)
Beta Was this translation helpful? Give feedback.
All reactions