wownero/contrib/epee
moneromooo-monero 21777daf6e
epee: speedup word/number matching
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
2019-01-16 19:59:40 +00:00
..
demo
include epee: speedup word/number matching 2019-01-16 19:59:40 +00:00
src Merge pull request #5001 2019-01-16 19:27:13 +02:00
tests Merge pull request #4864 2018-12-31 15:13:59 -06:00
CMakeLists.txt Update 2018 copyright 2018-01-26 10:03:20 -05:00
LICENSE.txt
README.md

README.md

epee - is a small library of helpers, wrappers, tools and and so on, used to make my life easier.