util/hex.h: Reserve result space in hex_encode()
authorstarling13 <starling13@mail.ru>
Sun, 7 Apr 2019 10:01:42 +0000 (13:01 +0300)
committerSmallJoker <SmallJoker@users.noreply.github.com>
Sun, 7 Apr 2019 10:01:42 +0000 (12:01 +0200)
commit1db4ae96b1a1fa7c5b383a505a0b0b74b836551a
tree32a52e168d4b6f252dd69896ae17d781445c9a2f
parent3deaa7cf57f174a224b433710429b7a9abdbce71
util/hex.h: Reserve result space in hex_encode()

Reserve enough space for the result of hex_encode() to eliminate reallocations
src/util/hex.h