summaryrefslogtreecommitdiff
path: root/src/proof/alethe/alethe_printer.cpp
diff options
context:
space:
mode:
authorAndres Noetzli <andres.noetzli@gmail.com>2021-12-03 12:29:00 -0800
committerAndres Noetzli <andres.noetzli@gmail.com>2021-12-03 12:29:00 -0800
commited739ecb71a71fe23aff4a877cbf39542281ed37 (patch)
treeaafc34ccecb2cad8154d0a9e65086b04f63db6a0 /src/proof/alethe/alethe_printer.cpp
parent774770af22c882ade8f44aedbeed027cdf3d9496 (diff)
Faster hasing for `cvc5::String`optStringHash
Previously, our hashing algorithm for `cvc5::String` would create an `std::string` representation of the string and then call `std::hash<std::string>` on the result. Creating the temporary `std::string` is quite expensive and can be avoided by computing the hash directly on the elements of the vector of characters in `cvc5::String`. This change improves our solving time on an industrial benchmark from about 59s to 55s.
Diffstat (limited to 'src/proof/alethe/alethe_printer.cpp')
0 files changed, 0 insertions, 0 deletions
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback