Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8102372

Improve StyleManager lookup by using hash tables to find potential Styles that match a Node

XMLWordPrintable

      Rather than iterating over all styles and finding those which "mightApply" to a Node, we should maintain several maps. These maps would map for example from id to a list of styles, or style class to a list of styles. When a new node comes along, we would create the set of potential matches based on these lookups. This has been prototyped and shown to be much faster.

            dgrieve David Grieve
            rbair Richard Bair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: