A
Annajiat
Hi,
a)
int grid[1010][1010];
Which of the following is faster?
1. memset(grid,0,1010*1010);
2. memset(grid,0,sizeof(grid));
b) Is there any faster alternative to initializing memory?
c) What is the difference between comp.lang.c and alt.comp.lang.c ?
d) Is there any performance difference in local and global array?
Thanking you
আনà§à¦¨à¦¾à¦¿à¦œà§Ÿà¦¾à¦¤ আলীম রােসল
Annajiat Alim Rasel
Secretary
BUCC
BRAC University Computer Club
BUCC: http://groups-beta.google.com/group/bucc
BUCC Programming Contest Wing:
http://groups.yahoo.com/group/buacm
http://groups-beta.google.com/group/buacm
(e-mail address removed)
(e-mail address removed)
(e-mail address removed)
Monga Crisis:
http://adnan.phpxperts.com/monga/
http://adnan.phpxperts.com/monga/feedback.php
Quote: I don't talk. I don't talk much. However, when I talk, I forget
to stop.
a)
int grid[1010][1010];
Which of the following is faster?
1. memset(grid,0,1010*1010);
2. memset(grid,0,sizeof(grid));
b) Is there any faster alternative to initializing memory?
c) What is the difference between comp.lang.c and alt.comp.lang.c ?
d) Is there any performance difference in local and global array?
Thanking you
আনà§à¦¨à¦¾à¦¿à¦œà§Ÿà¦¾à¦¤ আলীম রােসল
Annajiat Alim Rasel
Secretary
BUCC
BRAC University Computer Club
BUCC: http://groups-beta.google.com/group/bucc
BUCC Programming Contest Wing:
http://groups.yahoo.com/group/buacm
http://groups-beta.google.com/group/buacm
(e-mail address removed)
(e-mail address removed)
(e-mail address removed)
Monga Crisis:
http://adnan.phpxperts.com/monga/
http://adnan.phpxperts.com/monga/feedback.php
Quote: I don't talk. I don't talk much. However, when I talk, I forget
to stop.