Replies: 1 comment
-
|
I suspect that would increase startup time since you would need to import the code to decompress. If you are vendoring Rich, could you just not use emoji codes and ditch that file altogether? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This is relatively low-prio, take it / leave it. I am vendoring the packages I'm using for a small project. While trying to minimize the disk space, _emoji_codes.py is popping up as one of the biggest files, and will heavily compress:
gzip -9 _emoji_codes.py
140kB -> 29kB
I didn't convert it to json, but the compression results should be pretty similar. My estimation is that the time it takes to decompress will be approximately offset by the reduced file read-in time (especially on NFS).
What do you think?
Thanks!
--Myles
Beta Was this translation helpful? Give feedback.
All reactions