Added substantial speed improvements.
authorGoalSmashers <jakub@goalsmashers.com>
Sat, 3 Nov 2012 18:53:19 +0000 (18:53 +0000)
committerGoalSmashers <jakub@goalsmashers.com>
Sat, 3 Nov 2012 18:53:19 +0000 (18:53 +0000)
commit29a715e225aa2baad9a441b65bf48a6000c298a9
tree8da9cb46df18398f837deaa29d6be0170e34f9fd
parent5b52af1072800c998477603a47027299a2290e0e
Added substantial speed improvements.

* Reduced bench.js run time by ~20% (from ~45ms to ~35ms on MBP SB 2.3GHz).
* Removed unnecessary regular expressions or replaced with faster ones.
* Added removing line break after commas (effectively making one definition per line).
* Added breaks test for Windows.
lib/clean.js
test/batch-test.js
test/bench.js
test/data/960-min.css
test/data/big-min.css
test/data/blueprint-min.css
test/data/reset-min.css
test/unit-test.js