On Wed, Oct 26, 2016 at 12:45 AM, Sean Russell <seaneruss...@gmail.com> wrote: > How did you calculate the SVG sizes? When I download the the icons from the > material design github, the collection of the *_48px.svg icons weighs in at > 3.8MB.
You may be double counting the design/ and production/ versions of the same icons, although that shouldn't explain a 10x difference. There may be other factors. How did you make your calculation? > So, one question and one suggestion: the question is what were you measuring > for the SVG size, and the comment is that you might want to address the svgz > aspect. As in, "yes, svgz is smaller, but more expensive to decode," with > benchmarks, or whatever other technical merits you're aware of. The SVG size was measured by this program: https://go.googlesource.com/exp/+/master/shiny/materialdesign/icons/gen.go which generated this file (look at the final lines): https://go.googlesource.com/exp/+/master/shiny/materialdesign/icons/data.go SVGZ is indeed smaller, and more expensive to decode, but I don't have numbers at hand. Even so, there's still the point that a spec-compliant SVG renderer is a _lot_ of code, and XML brings its own complexities. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.