|Method Level optimizations. firstname.lastname@example.org (Charles Fiterman) (1995-01-23)|
|Re: Method Level optimizations. email@example.com (1995-01-27)|
|Re: Method Level optimizations. firstname.lastname@example.org (Stefan Monnier) (1995-01-31)|
|From:||email@example.com (Henry Baker)|
|Date:||Fri, 27 Jan 1995 03:54:57 GMT|
Charles Fiterman <firstname.lastname@example.org> 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.