PATCH RFA: Make hashtable::clear return quickly if table is empty

Ian Lance Taylor iant@google.com
Mon Mar 30 22:39:00 GMT 2009


Paolo Carlini <paolo.carlini@oracle.com> writes:

> PS: Careful, two more of those and you will be officially appointed
> maintainer of the unmaintained library code ;)

Fortunately I only have one more patch, which I will send shortly.

> PPS: A tad more seriously: we badly lack testcases in some areas, thus,
> in the future, please consider exercising a bit the code paths you will
> be touching...

I will include a test case with the next patch, which deserves one.

The last two patches were optimization tuning, really, so it didn't
occur to me to include test cases.

Ian



More information about the Gcc-patches mailing list