Reland double gzip wrapping NOTICES to reduce on-disk installed space#80897
Reland double gzip wrapping NOTICES to reduce on-disk installed space#80897xster merged 1 commit intoflutter:masterfrom
Conversation
dc56ff6 to
b3285a3
Compare
|
@jonahwilliams did I get what you were telling me last time right? |
There was a problem hiding this comment.
nit: super() isn't needed`
There was a problem hiding this comment.
ah man, I haven't written dart for so long 😔
There was a problem hiding this comment.
I would split up this code into a method with good documentation on what it is doing. Its a bit hard to follow the conditional as is
|
Seems to do the job, thank you @xster |
There was a problem hiding this comment.
@chingjun I unfortunately needed to add another parameter to AssetBundle.build. I took a quick look in cs and it doesn't seem like there's any AssetBundle subclasses that implements build.
|
Note: I took the unzipping part out of the framework's AssetBundle and just put it into the service binding's implementation to reduce the API break surface area. |
|
This pull request is not suitable for automatic merging in its current state.
|
|
Not sure why my frob cls were deleted. But it's also expected to fail. I'll submit a g3fix |
Reland the revert at #71899 to fix #71102
The difference between this and the last PR is that it now first compares uncompressed strings against the existing entry first before doing any work to avoid taking a performance hit.
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.