Commit c73a20b
🐎 RLE for memory in snapshots (#264)
* Use run length encoding when taking a memory snapshot
* Fix issue with run length encoding when there are 0 memory pages
* Restore memory using run length encoding
* Remove old commented out code
* Clang-format
* Remove unnecessary print
* Add check to validate if run length encoding restored memory correctly
* Fix conflicting variable name `end`
---------
Co-authored-by: Tom Lauwaerts <tom.lauwaerts@ugent.be>1 parent 14ac89b commit c73a20b
1 file changed
+32
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
873 | 873 | | |
874 | 874 | | |
875 | 875 | | |
876 | | - | |
877 | | - | |
878 | | - | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
879 | 894 | | |
880 | 895 | | |
881 | 896 | | |
| |||
1237 | 1252 | | |
1238 | 1253 | | |
1239 | 1254 | | |
1240 | | - | |
| 1255 | + | |
| 1256 | + | |
| 1257 | + | |
| 1258 | + | |
| 1259 | + | |
| 1260 | + | |
| 1261 | + | |
| 1262 | + | |
| 1263 | + | |
| 1264 | + | |
| 1265 | + | |
| 1266 | + | |
| 1267 | + | |
| 1268 | + | |
1241 | 1269 | | |
1242 | 1270 | | |
1243 | 1271 | | |
1244 | 1272 | | |
1245 | | - | |
1246 | 1273 | | |
1247 | 1274 | | |
1248 | 1275 | | |
| |||
0 commit comments