Dag Sverre Seljebotn, 06.01.2010 20:18:
> there is probably not a use for inline non-final methods as they 
> can't be inlined anyway, and I suppose the times one want a non-inline 
> final method are very scarce

That was my intuition, too. I doubt that this feature is any interesting 
beyond inlining. If the non-overridable function is large enough to 
prohibit inlining, it's likely not worth speeding up the call anyway.

Also, even if the C compiler sees the 'inline' keyword, it's free to ignore 
it if it considers the function too large to have any positive impact.

Stefan

_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to