|Method Level optimizations. email@example.com (Charles Fiterman) (1995-01-23)|
|Re: Method Level optimizations. firstname.lastname@example.org (1995-01-27)|
|Re: Method Level optimizations. email@example.com (Stefan Monnier) (1995-01-31)|
|From:||firstname.lastname@example.org (Henry Baker)|
|Date:||Fri, 27 Jan 1995 03:54:57 GMT|
Charles Fiterman <email@example.com> wrote:
> 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.
I agree. Most Lisp compilers have some sort of 'compiler optimizers'
which allow the programmer to give 'hints' such as this to the compiler.
Perhaps it is time for C++ compilers to get their act together.
Return to the
Search the comp.compilers archives again.