in-place `tigten_body()` (#2111)
authorAlex Lam S.L <alexlamsl@gmail.com>
Fri, 16 Jun 2017 11:19:54 +0000 (19:19 +0800)
committerGitHub <noreply@github.com>
Fri, 16 Jun 2017 11:19:54 +0000 (19:19 +0800)
commit00e4f7b3c15437df90cf06dabb096fd0576e1814
treed1666f7526d976b51ac28c9704370c435f95cd65
parent11e63bc3351597a7cd05a769346bb577e65069d4
in-place `tigten_body()` (#2111)

By reducing copies of `AST_Node` arrays, we should be able to reduce:
- memory pressure
- potential bugs caused by multiple references in AST
- duplicated executions of `OPT()`
lib/compress.js