mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-29 18:53:14 +00:00
21777daf6e
Number matching semantics are slightly changed: since this is used as a filter to check whether a number is signed and/or floating point, we can speed this up further. strto* functions are called afterwards and will error out where necessary. We now also accept numbers like .4 which were not accepted before. The strto* calls on a boost::string_ref will not access unallocated memory since the parsers always stop at the first bad character, and the original string is zero terminated. in arbitrary time measurement units for some arbitrary test case: match_number2: 235 -> 70 match_word2: 330 -> 108 |
||
---|---|---|
.. | ||
demo | ||
include | ||
src | ||
tests | ||
CMakeLists.txt | ||
LICENSE.txt | ||
README.md |
epee - is a small library of helpers, wrappers, tools and and so on, used to make my life easier.