Uploaded image for project: 'Numbered Content Application'
  1. Numbered Content Application
  2. NCAPP-41

Remove the figure and heading numbering cache

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.2
    • 1.1
    • Figures, Headings
    • None
    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      The figure and heading numbering cache doesn't improve the performance as the computation of the key for the cache needs to traverse the XDOM - in this time, the figure or heading numbers could also be computed directly. Further, after every macro execution, the XDOM is changed and thus there will be as many cache entries as there are reference macros in the page. Further, there is currently no handling for hash key collisions (hash codes are used as keys for the cache), meaning that the cache might actually break things.

      Attachments

        Activity

          People

            MichaelHamann Michael Hamann
            MichaelHamann Michael Hamann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: