Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Memset Optimizing
Pani wrote:
> I have a program that will read as follows
>
> #define MS(x) memset(x.arr,'\0',sizeof(x.arr))
>
> void memset_var()
> {
> int cnt =0;
>
> for (cnt=0;cnt<ARR_SIZE;cnt++)
> {
> MS(v_array_temp[cnt]);
> }
> }
>
> How do i avoid loop and is there any short cut or easier method to
> clear the array without using loop
And in what way does this have any relationship to Oracle?
-- Daniel A. Morgan http://www.psoug.org damorgan_at_x.washington.edu (replace x with u to respond)Received on Thu Jun 23 2005 - 23:49:38 CDT
![]() |
![]() |