How to free memory allocated via double[][] using dmd-2.0.12?

Markus Dittirich markusle at gmail.com
Tue Apr 8 17:54:17 PDT 2008


BCS Wrote:
> 
> does it change things if you drop the ~= in favor of extending the 
> array? What about if you preallocate the array with the correct size to 
> begin with? (I know this might not be doable in the general case)

I'll play around with this some more. I've tried pre-alocating which didn't
help. It looks like this is a dmd + linux issue since the same code compiled with
the latest gdc works just fine and Bill seems to have no issues on windows
either.

Thanks for all the help!

cheers,
Markus



More information about the Digitalmars-d-learn mailing list