-
Notifications
You must be signed in to change notification settings - Fork 10k
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
[api-minor] Remove the CMapCompressionType
enumeration
#18951
[api-minor] Remove the CMapCompressionType
enumeration
#18951
Conversation
Given that we've not shipped, nor used, anything except binary CMaps for years let's just cache them unconditionally (since that's a tiny bit less code).
After the binary CMap format had been added there were also some ideas about *maybe* providing other formats, see [here](mozilla#8064 (comment)), however that was over seven years ago and we still only use binary CMaps. Hence it now seems reasonable to simplify the relevant code by removing `CMapCompressionType` and instead just use a boolean to indicate the type of the built-in CMaps.
5369829
to
b048420
Compare
/botio test |
From: Bot.io (Linux m4)ReceivedCommand cmd_test from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.241.84.105:8877/c730453cc33efa2/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_test from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.193.163.58:8877/6f6a6f8eaaa92bd/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.241.84.105:8877/c730453cc33efa2/output.txt Total script time: 32.04 mins
Image differences available at: http://54.241.84.105:8877/c730453cc33efa2/reftest-analyzer.html#web=eq.log |
From: Bot.io (Windows)FailedFull output at http://54.193.163.58:8877/6f6a6f8eaaa92bd/output.txt Total script time: 51.39 mins
Image differences available at: http://54.193.163.58:8877/6f6a6f8eaaa92bd/reftest-analyzer.html#web=eq.log |
Thank you for simplifying this! |
Unconditionally cache built-in CMaps on the worker-thread
Given that we've not shipped, nor used, anything except binary CMaps for years let's just cache them unconditionally (since that's a tiny bit less code).
[api-minor] Remove the
CMapCompressionType
enumerationAfter the binary CMap format had been added there were also some ideas about maybe providing other formats, see here, however that was over seven years ago and we still only use binary CMaps.
Hence it now seems reasonable to simplify the relevant code by removing
CMapCompressionType
and instead just use a boolean to indicate the type of the built-in CMaps.