On Fri, 13 Mar 2020 15:02:48 GMT, Kevin Rushforth <k...@openjdk.org> wrote:

> So this begs the question: Do we still want to do this? Is the cleanup worth 
> the extra memory used?

I'm not sure. This raises the opposite question: are there any places where we 
can benefit from introducing anonymous
classes instead of the current implementation?

In my own code, I prefer the readability and conciseness over performance. 
However, since JavaFX is a library, we might
want to go with the performance route. I don't know how important the memory 
consumption is for users in this case or
the other similar cases.

-------------

PR: https://git.openjdk.java.net/jfx/pull/141

Reply via email to