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
Since base64 would prevent us from ever using source APIs to sort incoming users instead of doing it on the application end, incurring pointless memory overhead, we should not use base64 encoding to do this, but instead an encoding scheme that does preserve alphabetical order. I'm not aware of any off the top of my head, but I am sure they exist. In the short term this is not essential, as we could migrate to a different encoding in the future, but we might as well pick a future proof encoding at this point.
The text was updated successfully, but these errors were encountered:
@emgrav Yup, I believe you are pointing to the right direction.
I am wondering though why not to use just a simple hex encoding where we won't have to worry about padding.
I will create a WIP and do some tests to see how it works.
Investigate and find an encoding library that preserves alphabetical order.
If such library was found, implement it.
Start with: https://github.com/hsivonen/encoding_rs
From here:
The text was updated successfully, but these errors were encountered: