Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: current
    • Fix Version/s: milestone 1
    • Component/s: www
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      2

      Description

      When creating a large dataSet, or multiple dataSets, the generateName(Object
      obj) method causes a major slow down. The code that causes this is:

      for (int i=0; i<Integer.MAX_VALUE; i++) {
      String name = prefix + (i+1);
      if (!usedNames.values().contains(name))

      { usedNames.put(obj, name); return name; }

      }

      Therefore when there are a lot of names in the usedNames map, this makes
      thousands of calls to .contains(). Hopefully this is enough information to show
      the bug.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            rbair
            Reporter:
            a4f686e6
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: