json_tokener: optimize check for number characters

speedup for 32-bit: ~5%
speedup for 64-bit: ~3%
This commit is contained in:
Ramiro Polla
2018-12-08 19:17:25 +01:00
parent 45c601bfa4
commit d98fc501fb
3 changed files with 11 additions and 3 deletions

View File

@@ -51,7 +51,6 @@ struct json_object
void _json_c_set_last_err(const char *err_fmt, ...);
extern const char *json_number_chars;
extern const char *json_hex_chars;
#ifdef __cplusplus