This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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] Cleanup: don't call free(NULL) unnecessarily


> I doubt any human can look at the glibc code base and easily point out
> what is or is not a hot-path in some of the more complex functions.

Agreed.  I was talking about the general principles we should follow.  I
haven't looked at this particular code.  Common cases are in error paths,
which are never hot paths.  What I imagine could be another common class of
case is conditional-alloca cases where alloca was chosen, which could be
hot paths.


Thanks,
Roland


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