On Wed, 9 Oct 2024 20:59:01 GMT, Phil Race <p...@openjdk.org> wrote:

>> Clients will usually obtain a LayoutInfo in order to respond to some user 
>> action or an update of the target node.
>> LayoutInfo should be considered an ephemeral snapshot, to be used and 
>> immediately discarded.
>> Clients should always obtain a new one when they need to respond again as 
>> likely the trigger to respond again means the target node has changed.
>
> Although I don't see the harm in being more efficient.

I hear a suggestion to create a think wrapper/proxy instead of the snapshot, 
right?

This might, in fact, be a better idea.  The API stays the same.
Let me think.

Thanks!

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1596#discussion_r1794229813

Reply via email to