You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The lexer speed (reading a string from memory) is about 2,5 millions tokens / sec (depends on CPU).
It's about 3 times more slower than original PHP algorithm, but about 16 times more rapid than a jison based version (which is also more rapid than a regex version ...)
The lexer algorithm could be improved a bit, but there will not be much gain here.
The parser sometimes is 10x slower than the lexer, there is a lot of room to improve the speed, the most cost effective part is recursive parsing on structures like arrays, property chains or string concatenations.
The text was updated successfully, but these errors were encountered:
The lexer speed (reading a string from memory) is about 2,5 millions tokens / sec (depends on CPU).
It's about 3 times more slower than original PHP algorithm, but about 16 times more rapid than a jison based version (which is also more rapid than a regex version ...)
The lexer algorithm could be improved a bit, but there will not be much gain here.
The parser sometimes is 10x slower than the lexer, there is a lot of room to improve the speed, the most cost effective part is recursive parsing on structures like arrays, property chains or string concatenations.
The text was updated successfully, but these errors were encountered: