Re: virtual functions and optimization at compile time

hannah@schlund.de (Hannah Schroeter)
3 Dec 2003 19:36:15 -0500

          From comp.compilers

Related articles
virtual functions and optimization at compile time pdn@sasken.com (preetham) (2003-11-21)
Re: virtual functions and optimization at compile time sasulzer@seanet.com (Stephen Sulzer) (2003-12-03)
Re: virtual functions and optimization at compile time joachim.durchholz@web.de (Joachim Durchholz) (2003-12-03)
Re: virtual functions and optimization at compile time hannah@schlund.de (2003-12-03)
Re: virtual functions and optimization at compile time tmk@netvision.net.il (2003-12-03)
Re: virtual functions and optimization at compile time alexc@std.com (Alex Colvin) (2003-12-03)
| List of all articles for this month |

From: hannah@schlund.de (Hannah Schroeter)
Newsgroups: comp.compilers
Date: 3 Dec 2003 19:36:15 -0500
Organization: Schlund + Partner AG
References: 03-11-076
Keywords: OOP, optimize
Posted-Date: 03 Dec 2003 19:36:14 EST

Hello!


preetham <pdn@sasken.com> wrote:


>Virtual Functions Are Supposed To Be Optimized Bcoz They R Supposedly
>Resolved At Run-Time. How Can Virtual Functions Be Resolved At
>Compile-Time???


>[By flow analysis that determines that it'll always call the same
>function, I suppose. -John]


SmallEiffel, a free Eiffel implementation, is supposed to do exactly this,
through whole program analysis.


Kind regards,


Hannah.



Post a followup to this message

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