Method Level optimizations.

Charles Fiterman <cef@geodesic.com>
Mon, 23 Jan 1995 00:58:17 GMT

          From comp.compilers

Related articles
Method Level optimizations. cef@geodesic.com (Charles Fiterman) (1995-01-23)
Re: Method Level optimizations. hbaker@netcom.com (1995-01-27)
Re: Method Level optimizations. monnier@di.epfl.ch (Stefan Monnier) (1995-01-31)
| List of all articles for this month |
Newsgroups: comp.compilers
From: Charles Fiterman <cef@geodesic.com>
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.