Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Base64 is bulky! #5

Open
ghost opened this issue Mar 16, 2015 · 2 comments
Open

Base64 is bulky! #5

ghost opened this issue Mar 16, 2015 · 2 comments

Comments

@ghost
Copy link

ghost commented Mar 16, 2015

You will be able to get much more data stuffed into facebook chat if you ditch Base64 for Unicode, we also started with Base64, but IIRC it was a ~30% inflation of data size.

Check out this project I was a part of in 2009, we used Twitter as file storage system, so, pretty similar.
https://www.youtube.com/watch?v=kUcLbmU5fHk

Love the project, good luck!

@matiasinsaurralde
Copy link
Owner

Thanks for the info, I'll take a look!

@ghost
Copy link
Author

ghost commented Mar 19, 2015

The basic idea is you take your data blob, and encode it directly as unicode characters.

I uploaded some old proof of concept code, if you're interested.
There's a python version and C++ version of the datablob -> UTF8 encoding function, but you may have to dig around for the good stuff.
https://github.com/C-P-949/TwatFS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant