Is my fear of C/++ justified?, -cursed `e` coding-, The Engima of Segmentation Fault
you are viewing a single comment's thread
view the rest of the comments
[–] 4 points 1 week ago (3 children)

I wonder how much bandwidth is wasted on the extra =, since it survives minification 😅

  • source
  • parent
  • hideshow 3 child comments
  • [–] 7 points 1 week ago

    But if every single comparison used in a file is a triple =, then any compression algo worth its weight in salt will compress that bloat away during transmission

    The real issue is all the precious precious RAM those extra = use on the client device once received and unpacked!

  • source
  • parent
  • [–] 3 points 1 week ago (1 child)

    Gzip (any properly configured static server will serve compressed assets) probably compresses them down so probably a single extra byte per file

  • source
  • parent
  • hideshow 1 child comment
  • [–] 3 points 6 days ago*

    Gzip is old-school. The majority of modern sites use Brotli now. It's slower to compress, but that's not normally an issue for static resources (CSS, JS, etc) because they can be pre-compressed during the build and the web server serves the pre-compressed files instead of dynamically compressing them.

  • source
  • parent