Skip to content
This repository has been archived by the owner on Jul 23, 2020. It is now read-only.

try to reduce size of emoji data file #1

Open
joeattardi opened this issue Aug 21, 2019 · 1 comment
Open

try to reduce size of emoji data file #1

joeattardi opened this issue Aug 21, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@joeattardi
Copy link
Owner

The emoji.js data file is rather large (~256 KB), and contains a lot of duplicated information. Maybe the processing step can remove some of this duplicated data.

@joeattardi joeattardi added the enhancement New feature or request label Aug 21, 2019
@lukasIO
Copy link

lukasIO commented Aug 21, 2019

Hi,
I did some quick tests by deleting everything apart from name category and emoji (and even renaming category and name to c and n):
here are the results gzipped:
emoji-reduced.js.gz

gzipped the difference is ~ 30kb vs ~ 20kb
without it, it's around ~100kb difference

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants