commit | 5d0c97186b2efae55016c8bfc930d7ac6ab7b97e | [log] [tgz] |
---|---|---|
author | Lingfeng Yang <lfy@google.com> | Fri Jan 22 21:46:09 2021 -0800 |
committer | Lingfeng Yang <lfy@google.com> | Sun Jan 24 11:36:35 2021 -0800 |
tree | 45def4a69d1c84d8346341ffd1ad4b3b28d41696 | |
parent | 2e7752ac90b53d26a9c1c381f006fb1cbac08b90 [diff] |
[18/n] codegen: encoder: avoid some deepcopies Bug: 177214396 We don't actually need to deepcopy if we don't generate any code that does any actual transformation. Check for that, and skip copying if so. TODO: Also remove deepcopies when transform_XX doesnt actually do anything Change-Id: I25d34e504d78ba6e05aeea05e455042140846410