lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev lynx2.8.3dev.4


From: T.E.Dickey
Subject: Re: lynx-dev lynx2.8.3dev.4
Date: Fri, 16 Jul 1999 22:38:11 -0400 (EDT)

> 
> In a recent note, T.E.Dickey said: 
>  
> > Date: Fri, 16 Jul 1999 20:35:54 -0400 (EDT) 
> > > >   
> > > Out of curiosity, I added casts at all applied occurences that generated  
> > > warnings or errors.  I felt this was safer than trying to change the  
> > > declarations.  This is probably not the right way to do it -- some of  
> > > the declarations should be changed back.  But, FYI, patch attached.  
> >  
> > I'm inclined to agree (but I'll look closely when I start working on 
> > dev.5). 
> > thanks.  (I'd rather keep the number of casts to a minimum - that's what'll 
> > decide it for me). 
> >  
> I'm still experimenting.  I restored the dev.3 interface to LYLowerCase and 
> LYUpperCase and did the cast internally (which probably costs a couple 
> instructions per call -- so shoot me :-).  The patch gets 60% smaller -- 
> 2/3 of the casts go away. 

better.  (I assume you mean you're assigning to a unsigned-char-pointer
inside the function -- some compilers don't bother adding instructions for
that).

>  
> -- gil 
> --  
> StorageTek 
> INFORMATION made POWERFUL 


-- 
Thomas E. Dickey
address@hidden
http://www.clark.net/pub/dickey

reply via email to

[Prev in Thread] Current Thread [Next in Thread]