-
Notifications
You must be signed in to change notification settings - Fork 12
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
suggest using 512 emojis #4
Comments
I did this for a period, but reverted it to keep more convenient bit-boundaries (256 means 1 emoji = 1 byte) |
How do you handle sub-byte ends? — On Sat, Nov 22, 2014 at 11:15 AM, Paul Frazee [email protected]
|
https://github.com/pfraze/base-emoji/blob/master/index.js#L9 Depends on how |
@pfraze hm. i guess this is a |
@jbenet I'm really just speculating, I'd have to build some tests to give you a good answer. Base-emoji was built on a lark, so I havent been sweating details like that |
just make the overhanging bytes always be zero, and drop them when converting back into a buffer. |
agreed with @dominictarr. (oh man, i hadn't seen d64-- thank you!) also, i recently did some work on this. turns out we have emoji >1024! see http://www.unicode.org/Public/emoji/1.0/full-emoji-list.html -- some are missing on some platforms (i.e. not rendering now), but i think they will be rendering in the near future (that doc is by reps from both google and apple). So i think we could sort through and pick the 1024 most likely to be supported. we could get some serious hash "visual compression" this way. |
would be nice to compress even more. 512 emojis could be good. Wish there were 1024 to make things easier for us.
The text was updated successfully, but these errors were encountered: