This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: [libstdc++ PATH] tr1::bind support



On Mar 22, 2005, at 11:48 AM, Matt Austern wrote:


On Tue, 22 Mar 2005 17:20:04 +0100, Florian Weimer <fw@deneb.enyo.de> wrote:
* Chris Jefferson:

Can I just query how long other people are finding programs take to
compile with tr1::bind?

Maybe it's necessary to implement bind (and tuple) directly in the compiler, using more efficient data structures, instead of template metaprogramming?

From the description we've been given it sounds like the issue is
preprocessor metaprogramming, not template metaprogramming.

I speculated that it was an issue with preprocessor metaprogramming, but I was wrong. Chris verified that preprocessing does not help, but precompiled headers do help, so the bottleneck seems to be in the C++ parser. It's probably not the template metaprogramming per se that's causing the problem; I think the issue is just that there's a LOT of code to be parsed.


Doug


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