DEV Community

Discussion on: Strings Are Evil

Collapse
theomails profile image
Theodore Ravindranath • Edited on

7.5 GB to 32KB is very misleading. It is a measurement problem to me.

Write 3GB to same array position and it's not counted. Write 3GB to sequential objects and it starts getting counted as ”allocation”.

Anyway the file is 3.7GB and atleast 3.7GB has been read into memory. In case of array index replacement it doesn't come up in the statistics.. because you are using only object allocation as measurement.

It's typical accounting issue... If you sell to your subsidiary is it counted as sales?