This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: C++ PATCH: operator delete[]


On Feb  2, 2000, Nathan Sidwell <sidwell@codesourcery.com> wrote:

> I just don't like this idea of the delete instruction sequence being
> a sequence of calls to functions which all start
> 	bz ptr,exit
> 	call lower_level_delete
> exit:	return
> (even with tail call optimization this is still two jumps in a row).
> Yeah, micro optimization and all that, sorry :-)

Yup, I agree with the point about optimization.  But my reading of the
Standard says we should do it the way my patch goes.  But your reading
about the implied `at minimum' also makes sense.

> I'll be quiet now.

Ditto.

-- 
Alexandre Oliva http://www.ic.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{lsd.ic.unicamp.br,guarana.{org,com}} aoliva@{acm,computer}.org
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]