Applied Mattijs' PackedList improvements
- resize with factor 2 as per DynamicList Old insertion speed: 1000000 in 0.61 s 2000000 in 2.24 s 3000000 in 3.97 s 4000000 in 5.76 s 5000000 in 7.54 s 6000000 in 9.41 s 7000000 in 11.5 s New insertion speed: 1000000 in 0.01 s 2000000 in 0.02 s 3000000 in 0.01 s 4000000 in 0.02 s 5000000 in 0.01 s 6000000 in 0.01 s 7000000 in 0.01 s
Showing
- applications/test/PackedList3/Make/files 3 additions, 0 deletionsapplications/test/PackedList3/Make/files
- applications/test/PackedList3/Make/options 0 additions, 0 deletionsapplications/test/PackedList3/Make/options
- applications/test/PackedList3/PackedListTest3.C 75 additions, 0 deletionsapplications/test/PackedList3/PackedListTest3.C
- src/OpenFOAM/containers/Lists/PackedList/PackedListI.H 10 additions, 1 deletionsrc/OpenFOAM/containers/Lists/PackedList/PackedListI.H
Please register or sign in to comment