-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Optimize Documentation Images to Save Bandwidth #173
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
Conversation
This commit optimizes the images available in the docs folder in order to save on bandwidth and also decrease page loading time. Images updated: - docs/Array.png - docs/ArrayBridge.png - docs/ArrayCast.png - docs/ArrayImplementation.png - docs/ContiguousArray.png - docs/Slice.png
What is the actual win of doing this compression? How much space is saved? Note that doing this change actually increases the size of the cloned repository. |
@krememek This increases the git repository size overall but it will decrease the amount of bandwidth required to serve the Swift Documentation website. Since there are more people viewing the documentation than cloning the repository I believe there is a benefit. The reported size decrease is here, per file:
|
@daknob 👍 200kb saved per doc user vs 564kb cost for clones. Worth it. |
Where in the swift.org site is this documentation? I could not find. |
Optimize Documentation Images to Save Bandwidth
Fix numbering in project goals
Add support for typealias
This allows installing build dependencies without actually building anything.
Remove isExpr etc. methods
Update ReactiveCocoa xfails with correct jira reference
On recent main, this test case fails verification with ``` SIL memory lifetime failure in @$s4main4doityyF: memory is not initialized, but should be memory location: %21 = struct_element_addr %20 : $*M4, #M4.s2 // user: %23 at instruction: %23 = apply %22(%19, %21) : $@convention(thin) (@inout S, @inout S) -> () [...] 4. While running pass swiftlang#173 SILFunctionTransform "MoveOnlyChecker" on SILFunction "@$s4main4doityyF". for 'doit()' (at test/Interpreter/moveonly_reinit_noncontiguous.swift:32:1) ```
This commit optimizes the images available in the
docs folder in order to save on bandwidth and
also decrease page loading time.
Images updated: