Test 1
How many elements?100
please wait...
Creating 100 parrays: 0
used memory: 4982
Write to 100 parrays: 0
Read from 100 parrays: 0
-----------------
Creating 100 ptypes: 0
used memory: -3476
Write to 100 ptypes: 0
Read from 100 ptypes: 0
Error here as you clearly see
Test 2
How many elements?100000
please wait...
Creating 100000 parrays: 137
used memory: 4797572
Write to 100000 parrays: 72
Read from 100000 parrays: 5
-----------------
Creating 100000 ptypes: 57
used memory: 3199172
Write to 100000 ptypes: 9
Read from 100000 ptypes: 6
How many elements?100
please wait...
Creating 100 parrays: 0
used memory: 4982
Write to 100 parrays: 0
Read from 100 parrays: 0
-----------------
Creating 100 ptypes: 0
used memory: -3476
Write to 100 ptypes: 0
Read from 100 ptypes: 0
Error here as you clearly see
Test 2
How many elements?100000
please wait...
Creating 100000 parrays: 137
used memory: 4797572
Write to 100000 parrays: 72
Read from 100000 parrays: 5
-----------------
Creating 100000 ptypes: 57
used memory: 3199172
Write to 100000 ptypes: 9
Read from 100000 ptypes: 6