change to gcc from lcc
Robert Dewar
dewar@adacore.com
Wed Nov 19 12:02:00 GMT 2008
Anna Sidera wrote:
> Hello, thank you everybody for your help.
>
> I used malloc to create my arrays instead of creating the in the stack. My program is working now but it is very slow.
>
> I use two-dimensional arrays. The way I access element (i,j) is:
> array_name[i*row_length+j]
>
> The server that I use has 16GB ram. The ulimit -a command gives the following output:
> time(seconds) unlimited
> file(blocks) unlimited
> data(kbytes) unlimited
> stack(kbytes) 8192
> coredump(blocks) unlimited
> nofiles(descriptors) 256
> vmemory(kbytes) unlimited
>
> Do you have any suggestions to speed up my program?
What switches are you using, I assume you have optimization turned on?
More information about the Gcc
mailing list