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

RFE: Implement optimizations to GraphicsPrimitive locate mechanism

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.2
    • 1.4.2
    • client-libs
    • None
    • 2d
    • mantis
    • generic
    • generic

      Currently, primitives are sorted and located based on unique string identifier.
      This results in excessive number of string comparisons done any time locate
      method is invoked. In order to reduce string comparison overhead, unique string
      identifiers should be replaced with unique integer identifiers. Since
      comparing atomic data types is much faster than dealing with String objects,
      this change will make locate mechanism faster and more efficient.

            duke J. Duke
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: