I did find this:
http://www.insightfullogic.com/blog/2014/may/12/fast-and-megamorphic-what-influences-method-invoca/

which seems to indicate that final really makes minimal difference and that
for the case in question, it will make a difference.

Of course we have the maintainability issues.


On Mon, Dec 1, 2014 at 2:06 PM, Joshua TAYLOR <[email protected]> wrote:

> On Mon, Dec 1, 2014 at 9:04 AM, Claude Warren <[email protected]> wrote:
> > I can find no documentation that indicates that the @Override speeds up
> > processing.  All documentation that I have found on @Override indicates
> > that it is a hint to the IDE to let the user know when changing a
> signature
> > may be an issue in large and complex classes.  Infact the Override
> > annotation is marked as having a retention of "Source", so I don't see
> how
> > it could play a role in runtime evaluation.
>
> I think Andy was asking about the perfomance of overriding a Java8
> default method (as opposed to implementing a method for an interface
> that doesn't provide a default method).
>
> --
> Joshua Taylor, http://www.cs.rpi.edu/~tayloj/
>



-- 
I like: Like Like - The likeliest place on the web
<http://like-like.xenei.com>
LinkedIn: http://www.linkedin.com/in/claudewarren

Reply via email to