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]
Other format: [Raw text]

Re: [PATCH] C++ space optimization: de-cloning con/de/structors


On Wednesday, August 7, 2002, at 05:41 PM, Jason Merrill wrote:
Why not? These objects, created by copy constructors, are passed to the
thunk by invisible reference.
They are? Why do you think that? I believe in the code stuart submitted, that in fact they are not on darwin.
Yes, we can all agree that a future direction of this code would be to make them invisible reference, that way
we avoid the copy-ctor. The question is then, should we reject this code because it saves 14-16% in hopes that one day in the future that someone might donate code that saves 16.5% instead?


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