]> gitweb.factorcode.org Git - factor.git/commit
compiler.tree.propagation: Eliminate redundant resize calls
authortimor <timor.dd@googlemail.com>
Fri, 30 Jul 2021 00:01:50 +0000 (02:01 +0200)
committerDoug Coleman <doug.coleman@gmail.com>
Tue, 21 Dec 2021 15:19:37 +0000 (09:19 -0600)
commit94fc1f5faf4df0ba11d10ccecc71d996472102cc
tree4f6c1ab01425293c1ecc47d0b8dfddd3e805ee4e
parenta8f0c9dc6b71035d7bcdbe7e4d938ec62b250eff
compiler.tree.propagation: Eliminate redundant resize calls

Resizing an array or other primitive sequence to the exisiting length is a no-op.
basis/compiler/tree/propagation/propagation-tests.factor
basis/compiler/tree/propagation/transforms/transforms.factor