Re: suggestion: slight optimization for UT_String


Subject: Re: suggestion: slight optimization for UT_String
From: Joaquin Cuenca Abela (cuenca@celium.net)
Date: Mon Mar 19 2001 - 06:42:23 CST


On 19 Mar 2001 11:10:16 +0100, Joaquín Cuenca Abela wrote:
>
> I will remove the redundant if (x) delete[] x; from the clear method,

I'm speaking rubish. The if (m_psz) at clear prevents for doing:

                m_psz = 0;
                m_pEnd = 0;
                m_size = 0;

when we don't need it.

Sorry, I will reintroduce it.
Cheers,

-- 
Joaquín Cuenca Abela (who needs more sleep)
cuenca@celium.net



This archive was generated by hypermail 2b25 : Mon Mar 19 2001 - 06:43:47 CST