Makes a pretend network (every link is a plain JavaScript object with ids, a weight, four coordinates, a color, a kind and a flag), keeps it as JSON text and as packed bytes, brings it back, and checks that every value came back exactly. Nothing leaves this page.
Links:
Starting...
| Way | Size | Pack | Restore | Exactly the same? |
|---|
The first row is the plain way (JSON text). The second is for live memory, the third for save files. Restore time is the time to get every object back.