CodePudding user response:
There are external, where to takeCodePudding user response:
If the array value is Long (4 bytes), 10000 * 10000 array is 381 m,And if you use the sparse matrix (member} {x, y, value), the 10000 data is only 117 k, even if you a copy again, separately to the x, y sorting convenient search first, has more than 200 k,
CodePudding user response:
Using simulated memory file, speaking, reading and writing, speaking, reading and writing,