Use str.subtr in str.to.int/int.to.str reduction (#3544)
authorAndres Noetzli <andres.noetzli@gmail.com>
Sat, 7 Dec 2019 00:06:19 +0000 (16:06 -0800)
committerGitHub <noreply@github.com>
Sat, 7 Dec 2019 00:06:19 +0000 (16:06 -0800)
commit4108b709482aadc1aa1bd11b59871151fbe912f4
tree39165c77c3a1bdb286ab6bbf8ea533fba84a9087
parent55ef1bf844fcaaddc2a3dd299a48670fea017d97
Use str.subtr in str.to.int/int.to.str reduction (#3544)

Previously, we were using UFs to encode substrings in the
`str.to.int`/`int.to.str` reductions. Our experiments have shown,
however, that using `str.substr` is more efficient instead.
src/theory/strings/theory_strings_preprocess.cpp