Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-172

Optimize KernelNodeState equality checks

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.4
    • core
    • None

    Description

      Much of our higher level functionality depends on efficient diffing of content trees. Our current algorithm for diffing KernelNodeStates depends heavily on the performance of the equals() method. Currently equals() does a full tree comparison, but we can shortcut that in most cases by using the ":hash" pseudo-property from the underlying MicroKernel.

      Attachments

        Activity

          People

            jukkaz Jukka Zitting
            jukkaz Jukka Zitting
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: