svelte-emoji-selector icon indicating copy to clipboard operation
svelte-emoji-selector copied to clipboard

try to reduce size of emoji data file

Open joeattardi opened this issue 6 years ago • 1 comments

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 avatar Aug 21 '19 16:08 joeattardi

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

lukasIO avatar Aug 21 '19 16:08 lukasIO