Method Level optimizations.

Charles Fiterman <>
Mon, 23 Jan 1995 00:58:17 GMT

          From comp.compilers

Related articles
Method Level optimizations. (Charles Fiterman) (1995-01-23)
Re: Method Level optimizations. (1995-01-27)
Re: Method Level optimizations. (Stefan Monnier) (1995-01-31)
| List of all articles for this month |

Newsgroups: comp.compilers
From: Charles Fiterman <>
Keywords: OOP
Organization: Geodesic Systems
Date: Mon, 23 Jan 1995 00:58:17 GMT

I'm reaching the conclusion that the best optimizations
are at very high levels. Consider the optimization of
A = A + B; to A += B; where A and B are substantial objects
requiring allocation and initialization.

Consider the advantages of optimizing away A *= unity; Where
A and unity are matrices. Many of the class definitions I see
have real opportunities to describe method level optimizations.
But there are no reflexivity hooks to use them.

This looks like an impressive way to improve performance in
heavily reused classes.

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.