Just-in-Time Data Structures

Mattias De Wael, Stefan Marr, Joeri De Koster, Jennifer B. Sartor, Wolfgang De Meuter

Research output: Chapter in Book/Report/Conference proceedingConference proceedingspeer-review

Abstract

Today, software engineering practices focus on finding the single right data representation (i.e., data structure) for a program. The right data representation, however, might not exist: relying on a single representation of the data for the lifetime of the program can be suboptimal in terms of performance. We explore the idea of developing data structures for which changing the data representation is an intrinsic property. To this end we introduce Just-in-Time Data Structures, which enable representation changes at runtime, based on declarative input from a performance expert programmer. Just-in-Time Data Structures are an attempt to shift the focus from finding the "right" data structure to finding the right sequence of data representations. We present JitDS-Java, an extension to the Java language, to develop Just-in-Time Data Structures. Further, we show two example programs that benefit from changing the representation at runtime.
Original languageEnglish
Title of host publicationOnward!
EditorsGuy L. Steele, Gail C. Murphy
Pages61-75
Number of pages15
ISBN (Electronic)9781450336888
DOIs
Publication statusPublished - Oct 2015
Externally publishedYes

Fields of science

  • 102 Computer Sciences

Cite this