hg: openjfx/8u-dev/rt: [Accessibility] WinAccessible#Navigate() was quite inneficient for next/previous sibling navigation. It had to traverse the parent starting at index zero to find the current child before it can know the next sibling. Since next sibling travesral is usually sequencial, by remembering the index for the last child it sets up for the next call to next sibling to start at the right location in the list

hang.vo at oracle.com hang.vo at oracle.com
Tue Jun 10 00:02:50 UTC 2014


Changeset: 27adbe346c85
Author:    Felipe Heidrich <felipe.heidrich at oracle.com>
Date:      2014-06-09 16:45 -0700
URL:       http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/27adbe346c85

[Accessibility] WinAccessible#Navigate() was quite inneficient for next/previous sibling navigation. It had to traverse the parent starting at index zero to find the current child before it can know the next sibling. Since next sibling travesral is usually sequencial, by remembering the index for the last child it sets up for the next call to next sibling to start at the right location in the list

! modules/graphics/src/main/java/com/sun/glass/ui/win/WinAccessible.java



More information about the openjfx-dev mailing list