mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:27:35 +00:00
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.
This commit is contained in:
parent
a846ee76ea
commit
0d0230ab10
2 changed files with 11 additions and 13 deletions
|
@ -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 };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue