• DocumentCode
    660573
  • Title

    Dynamically transforming data structures

  • Author

    Osterlund, E. ; Lowe, Welf

  • Author_Institution
    Software Technol. Group, Linnaeus Univ., Växjö, Sweden
  • fYear
    2013
  • fDate
    11-15 Nov. 2013
  • Firstpage
    410
  • Lastpage
    420
  • Abstract
    Fine-tuning which data structure implementation to use for a given problem is sometimes tedious work since the optimum solution depends on the context, i.e., on the operation sequences, actual parameters as well as on the hardware available at run time. Sometimes a data structure with higher asymptotic time complexity performs better in certain contexts because of lower constants. The optimal solution may not even be possible to determine at compile time. We introduce transformation data structures that dynamically change their internal representation variant based on a possibly changing context. The most suitable variant is selected at run time rather than at compile time. We demonstrate the effect on performance with a transformation ArrayList data structure using an array variant and a linked hash bag variant as alternative internal representations. Using our transformation ArrayList, the standard DaCapo benchmark suite shows a performance gain of 5.19% in average.
  • Keywords
    data structures; DaCapo benchmark suite; hash bag variant; internal representation variant; possibly changing context; transformation ArrayList data structure; Abstracts; Algorithm design and analysis; Arrays; Complexity theory; Context; Switches;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Automated Software Engineering (ASE), 2013 IEEE/ACM 28th International Conference on
  • Conference_Location
    Silicon Valley, CA
  • Type

    conf

  • DOI
    10.1109/ASE.2013.6693099
  • Filename
    6693099