Patch: trivial optimizations

Tom Tromey tromey@cygnus.com
Sat Apr 8 16:50:00 GMT 2000


Anthony> Here are four simple optimizations I discovered by profiling
Anthony> MakeMimeType.

Yay, check these in.

Anthony> The Vector and StringTokenizer changes are essentially manual
Anthony> inlines.  As horrible as this sounds, I think the changes are
Anthony> relatively easy to swallow.

If we made VectorEnumeration a final class, would gcj automatically
inline the function call there?

Tom


More information about the Java-patches mailing list