diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-08-04 20:23:03 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-08-04 20:23:46 +0200 |
commit | 0d0230ab10b123584431aab07a807697982b44c9 (patch) | |
tree | 5db83389626524670f162fcb45b211e8a0a1224f /AK/JsonParser.h | |
parent | a846ee76eaf9233fac0e1c0e73eb94aa7a8d122b (diff) | |
download | serenity-0d0230ab10b123584431aab07a807697982b44c9.zip |
JsonParser: Fold extract_while() into parse_number()
It wasn't unsed anywhere else anyway, and this is actually ~1% faster
on the load_4chan_catalog benchmark.
Diffstat (limited to 'AK/JsonParser.h')
-rw-r--r-- | AK/JsonParser.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/AK/JsonParser.h b/AK/JsonParser.h index 26756abf36..7a65d1c638 100644 --- a/AK/JsonParser.h +++ b/AK/JsonParser.h @@ -35,9 +35,6 @@ private: template<typename C> void consume_while(C); - template<typename C> - Vector<char, 128> extract_while(C); - StringView m_input; int m_index { 0 }; |