diff options
author | Olivier Langlois <olivier@olivierlanglois.net> | 2013-10-10 12:35:51 -0400 |
---|---|---|
committer | Olivier Langlois <olivier@olivierlanglois.net> | 2013-10-27 23:04:52 -0400 |
commit | f171ec0c7d084b6bb163d1466edd814cf4dcbc93 (patch) | |
tree | cb0708afc624eeb68a0b0b5db0aca19e9cc58984 /src/qt/bitcoinamountfield.cpp | |
parent | 15b48ab03612952b355cdd411cc541668d147bfb (diff) |
Make util phexdigit array reusable
class template base_uint had its own private lookup table.
This is saving 256 bytes per instantiation.
The result is not spectacular as bitcoin-qt has only shrinked of
about 1Kb but it is still valid improvement.
Also, I have replaced a for loop with a memset() call.
Made CBigNum::SetHex() use the new HexDigit() function.
Signed-off-by: Olivier Langlois <olivier@olivierlanglois.net>
Diffstat (limited to 'src/qt/bitcoinamountfield.cpp')
0 files changed, 0 insertions, 0 deletions