Change the default sequences limit to 200 to speed up compress.
authorkzc <zaxxon2011@gmail.com>
Thu, 30 Jun 2016 18:56:12 +0000 (14:56 -0400)
committerRichard van Velzen <rvanvelzen@experty.com>
Fri, 1 Jul 2016 07:41:31 +0000 (09:41 +0200)
commitb40d5de69c61688dad8e9f5c1e99558e0e3bdc30
tree2d9ac58bcad2a48e308fea06327785ee1c46a18d
parentb7ef7840f3f0ab2bec09bec4d4b8a8bb8d50dc78
Change the default sequences limit to 200 to speed up compress.

Has little or no impact on minification size in the majority of
cases but can speed up rollup builds significantly.

This sequences change also has the beneficial side effect of avoiding
"stack size exceeded" errors on very large input files.

The user is free to alter the sequences limit if they are so inclined.
The previous sequences limit was 2000. 20 is often sufficient.
README.md
lib/compress.js