Uploaded image for project: 'Aptana Studio'
  1. Aptana Studio
  2. APSTUD-3646

CharacterPairMatcher performance issues

    Details

      Description

      The CharacterPairMatcher is showing as a hotspot during profiling, and it runs in the single UI thread, so it is particularly important to improve. Suggest replacing the DocumentPartitionAccessor impl, since it looks like it looks up the partition/scope/matches against a scope selector for every single character we try. We should be able to grab the partitions between position and end of file/start of file (based on forwards/backwards search), and then skip partitions en masse, and search each partition.

        Attachments

          Activity

            People

            • Assignee:
              cwilliams Christopher Williams
              Reporter:
              cwilliams Christopher Williams
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Source Code