This is the mail archive of the libstdc++@sourceware.cygnus.com 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]

RE: strtoul etc.



+ >> + First, with tons of special inline functions the compilation times
+ >> + go up significantly.
+ 
+ > To put it bluntly, does it matter?
+ 
+ inlining in general should be handled judiciously.

Er, thanks, I understand the dangers of inlining "in general" but we aren't
talking about general cases.  We're discussing a particular situation, in
rather unique circumstances.

Ulrich pointed out that the functions would be visible at a higher level
than what I realized, and that the inlining would be done directly in client
code, not just at a library implementation level (my misunderstanding).
This would indeed impact compilation times of everybody.  Mea culpa.


Does my second question still stand -- is it feasible to just benchmark the
two implementations on a couple of (more or less) representative machines?
That way we'll all have more numbers to throw into the discussion; it'll be
more fun.  :-)


Phil
(yes, I /am/ misquoting Louis Wu)


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