Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-2416

Change TreeMap for HashMap to store data in Cayenne model classes

    Details

      Description

      Cayenne uses TreeMap internally to keep all model-related entities sorted (Entities, Attributes, Relationships, etc.)
      But eventually ordering is needed only for tools (e.g. Modeler), while in runtime it only creates unnecessary performance overhead.
      So we can use HashMap for runtime and sort data explicitly where it is really needed (project saving, UI, etc.)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ntimofeev Nikita Timofeev
                Reporter:
                ntimofeev Nikita Timofeev
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: