- Load root_dir/openttd-trunk.xml
- types | # objects | total size
- ==================================== | =========== | ============
- <class 'dict | 41951 | 28.25 MB
- <class 'str | 86603 | 11.91 MB
- <class 'list | 22666 | 1.83 MB
- <class 'webtranslate.data.Change | 20968 | 1.28 MB
- <class 'webtranslate.data.Text | 20968 | 1.28 MB
- <class 'int | 379 | 10.37 KB
- <class 'tuple | 79 | 5.52 KB
- <class 'webtranslate.data.Stamp | 6 | 384 B
- <class 'webtranslate.data.Language | 5 | 320 B
- <class '_sre.SRE_Pattern | 1 | 192 B
- <class 'collections.OrderedDict | 0 | 168 B
- <class 'code | 1 | 136 B
- function (store_info) | 1 | 136 B
- <class 'cell | 2 | 112 B
- <class 'collections._Link | 1 | 80 B
- Save root_dir/openttd-trunk.xml.new
- types | # objects | total size
- ============================================ | =========== | ============
- <class 'dict | 578393 | 409.85 MB
- <class 'xml.dom.minicompat.NodeList | 344113 | 32.91 MB
- <class 'xml.dom.minidom.Text | 239032 | 14.59 MB
- <class 'xml.dom.minidom.Attr | 213749 | 13.05 MB
- <class 'str | 91044 | 8.38 MB
- <class 'xml.dom.minidom.Element | 130363 | 7.96 MB
- <class 'list | 2977 | 305.12 KB
- <class 'int | 521 | 14.25 KB
- <class '_io.BufferedWriter | 1 | 4.18 KB
- <class '_io.TextIOWrapper | 1 | 216 B
- <class 'code | 1 | 136 B
- function (store_info) | 1 | 136 B
- <class 'cell | 2 | 112 B
- <class '_io.FileIO | 1 | 72 B
- <class 'encodings.utf_8.IncrementalEncoder | 1 | 64 B