Update internals.md

This commit is contained in:
Milo Yip 2014-08-10 23:00:49 +08:00
parent bb748364fe
commit 8969549527

View File

@ -119,9 +119,9 @@ In this way the generation of array values or object members would be a single s
rather than several pop/push operations in the direct implementation.
This also makes the estimation of stack size more easier.
The final states diagram is shown below:
The states diagra is shown as follows:
<img src="diagram/iterative-parser-states-diagram.png" alt="States Diagram" height="400px"/>
![State Diagram](diagram/iterative-parser-states-diagram.png)
Second, the iterative parser also keeps track of array's value count and object's member count
in its internal stack, which may be different from a conventional implementation.