See #807 - disables restructuring optimizations.
authorJakub Pawlowicz <contact@jakubpawlowicz.com>
Sun, 8 Jan 2017 11:09:50 +0000 (12:09 +0100)
committerJakub Pawlowicz <contact@jakubpawlowicz.com>
Sun, 8 Jan 2017 11:18:25 +0000 (12:18 +0100)
commitd291e81730b9cd6fef9049188a8e7560186b0f2d
tree220154fe14ed81b6c8bf2c361b18771fb7fe6072
parente59a5aa025f24577c02d5af3c46e10dc58fa9469
See #807 - disables restructuring optimizations.

Can be brought back with:

* `{ level: { 2: { restructuring: true } } }` in API;
* `-O2 restructuring:on` in CLI.

Why:

* Those can be slow on big files;
* Need further optimizations and code cleanup, see #533.
13 files changed:
History.md
README.md
bin/cleancss
lib/options/optimization-level.js
test/batch-test.js
test/binary-test.js
test/integration-test.js
test/optimizer/merge-adjacent-test.js
test/optimizer/merge-non-adjacent-by-body-test.js
test/optimizer/reduce-non-adjacent-test.js
test/optimizer/restructure-test.js
test/options/optimization-level-test.js
test/source-map-test.js