Open martinus opened 7 years ago
https://github.com/zserge/jsmn/blob/35086597a72d94d8393e6a90b96e553d714085bd/jsmn.c#L209
I think at this position you can use tokSuper, which should save you from iterating the array at this point:
for (i = parser->tokSuper; i >= 0; i--) {
This should speed the parser up a bit.
https://github.com/zserge/jsmn/blob/35086597a72d94d8393e6a90b96e553d714085bd/jsmn.c#L209
I think at this position you can use tokSuper, which should save you from iterating the array at this point:
This should speed the parser up a bit.