Avoid work in replace() if rules empty.
authorHenner Zeller <h.zeller@acm.org>
Sun, 29 Sep 2019 07:17:40 +0000 (00:17 -0700)
committerHenner Zeller <h.zeller@acm.org>
Sun, 29 Sep 2019 07:17:40 +0000 (00:17 -0700)
commit8c2b4f0a50678f949418b7b7329550615fadde83
treea16bed0943ca5152a7aaf04618d2353aafd40e82
parentc372e7baf9c48d41ebdbea4486a72e8dfaaddd3d
Avoid work in replace() if rules empty.

This speeds up processing when number of bits are large but there
is actually nothing to replace. Adresses part of #1382.

Signed-off-by: Henner Zeller <h.zeller@acm.org>
kernel/rtlil.cc