Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • avatica-1.7.0
    • avatica
    • None

    Description

      Through profiling the Avatica server, I noticed that we were spending some time resizing an ArrayList while converting MetaResultSet's to ResultSetResponse's. This was because we did not specify the capacity of the ArrayList<ResultSetResponse> during construction despite knowing what the capacity needed to be.

      We can avoid some costly array copies if we specify the capacity in the constructor.

      Attachments

        Activity

          People

            elserj Josh Elser
            elserj Josh Elser
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: