4 ms·
I've converted the lookup table to a few lines of logic. I think it's more readable, and I would definitely bet on it being faster, though since I haven't profi
by pjscott 15y ago
I've converted the lookup table to a few lines of logic. I think it's more readable, and I would definitely bet on it being faster, though since I haven't profiled I don't know how much difference it would make.
https://github.com/PeterScott/json-parser/commit/db9c326f74709b5a5f2904e11f44b9c165613433 https://github.com/PeterScott/json-parser/commit/db9c326f747...
- udp 15y agoYeah, I'll go with that - cheers.