Matrix edges 10000 x 10000 = 100000000 1. Size of data [100000000]uint16: 190 MB compare int with float: 2. Size of data [100000000]float64: 762 MB 3. Size of type [100000000]float64: 24 Byte 4. Real size of [100000000]float64: 762 MB (2. + 3.) Slice creation: 58.961119ms Matrix creation: 382.131µs Matrix edges 20000 x 20000 = 400000000 1. Size of data [400000000]uint16: 762 MB compare int with float: 2. Size of data [400000000]float64: 3051 MB 3. Size of type [400000000]float64: 24 Byte 4. Real size of [400000000]float64: 3051 MB (2. + 3.) Slice creation: 216.234592ms Matrix creation: 528.291µs