[RFA] Revised C++ ABI abstraction patches
Thu Mar 15 11:35:00 GMT 2001
>>>>> "Jim" == Jim Blandy <email@example.com> writes:
Jim> And besides, function calls are so slow. Remember, GDB's performance
Jim> matters a lot --- it's used to debug real-time operating systems!
I don't know whether you're being facetious, but IMHO avoiding
function call overhead is not a good argument for making a piece of
code a macro instead of a function. I've seen many circumstances
where macros (or inlined functions) decrease the overall performance
of a system because the added code results in i-cache thrashing.
I think we should be addressing performance problems that are the
result of poor algorithms rather than spending any time bothering
More information about the Gdb-patches