nex3/sass — Issue #291: What kind of final CSS output - simple or complex selectors?
Author: pindiespace
Created: 2012-02-25 22:06:40+00:00
State: open

Hi, I'm researching issues of efficiency and performance optimization on the web, and was struct by the compiler-like nature of SASS. In turn, it made me think of the code output for an Intel desktop by a C++ compiler, versus RISC output destined for low-power mobile devices. If I understand RISC correctly, the instuction set is simpler, so the code output is simpler. This leads to big energy savings on RISC processors (which is why they're 95% of the mobile market).

My question is: Does SASS and equivalent CSS 'compilers' aim for a level of final code complexity. In other words, do they try to burn everything down to the simplest possible CSS selectors, or generated more complex ones? Thanks in advance