Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Memset Optimizing

Re: Memset Optimizing

From: DA Morgan <damorgan_at_psoug.org>
Date: Thu, 23 Jun 2005 21:49:38 -0700
Message-ID: <1119588592.559269@yasure>


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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US