Automating Ad hoc Data Representation Transformations

被引:0
|
作者
Ureche, Vlad [1 ]
Biboudis, Aggelos [2 ]
Smaragdakis, Yannis [2 ]
Odersky, Martin [1 ]
机构
[1] Ecole Polytech Fed Lausanne, CH-1015 Lausanne, Switzerland
[2] Univ Athens, GR-10679 Athens, Greece
关键词
data representation; jvm; bytecode; compatibility; transformation; optimization; safety; semantics;
D O I
10.1145/2814270.2814271
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
To maximize run-time performance, programmers often specialize their code by hand, replacing library collections and containers by custom objects in which data is restructured for efficient access. However, changing the data representation is a tedious and error-prone process that makes it hard to test, maintain and evolve the source code. We present an automated and composable mechanism that allows programmers to safely change the data representation in delimited scopes containing anything from expressions to entire class definitions. To achieve this, programmers define a transformation and our mechanism automatically and transparently applies it during compilation, eliminating the need to manually change the source code. Our technique leverages the type system in order to offer correctness guarantees on the transformation and its interaction with object-oriented language features, such as dynamic dispatch, inheritance and generics. We have embedded this technique in a Scala compiler plugin and used it in four very different transformations, ranging from improving the data layout and encoding, to retrofitting specialization and value class status, and all the way to collection deforestation. On our benchmarks, the technique obtained speedups between 1.8x and 24.5x.
引用
收藏
页码:801 / 820
页数:20
相关论文
共 50 条
  • [41] A survey on data dissemination in vehicular ad hoc networks
    Chaqfeh, Moumena
    Lakas, Abderrahmane
    Jawhar, Imad
    VEHICULAR COMMUNICATIONS, 2014, 1 (04) : 214 - 225
  • [42] Improving Data Availability in Ad Hoc Wireless Networks
    Bertini, Luciano
    Loques, Orlando
    Leite, J. C. B.
    INTELLIGENT COMPUTING, PART I: INTERNATIONAL CONFERENCE ON INTELLIGENT COMPUTING, ICIC 2006, PART I, 2006, 4113 : 1306 - 1313
  • [43] Distributed data fusion over an ad hoc network
    Anderson, S
    Binns, L
    Collins, P
    Cooke, A
    Greenway, P
    Valachis, D
    BATTLESPACE DIGITIZATION AND NETWORK-CENTRIC WARFARE II, 2002, 4741 : 202 - 210
  • [44] Data management and synchronization in a mobile ad hoc network
    Suneja, A. (anusuneja3@gmail.com), 1600, Institute of Electrical and Electronics Engineers Inc. (31):
  • [45] Replication of data associated with locations in ad hoc networks
    Ishihara, S
    Tamor, M
    Mizuno, T
    Watanabe, T
    2004 IEEE INTERNATIONAL CONFERENCE ON MOBILE DATA MANAGEMENT, 2004, : 172 - 172
  • [46] SUMMARIZING SENSORS DATA IN VEHICULAR AD HOC NETWORKS
    Zekri, Dorsaf
    Defude, Bruno
    Delot, Thierry
    RAIRO-OPERATIONS RESEARCH, 2010, 44 (04) : 345 - 364
  • [47] Consistent data sharing in mobile ad hoc networks
    Department of Information and Communication, Manipal Institute of Technology, Manipal University, Karnataka, India
    不详
    不详
    Int. J. Wireless Mobile Comput., 1 (36-42): : 36 - 42
  • [48] Reliable Data Delivery in Vehicular Ad hoc Networks
    Kambalimath, Mahantesh G.
    Mahabaleshwar, S. K.
    Manvi, S. S.
    2013 EIGHTH INTERNATIONAL CONFERENCE ON BROADBAND, WIRELESS COMPUTING, COMMUNICATION AND APPLICATIONS (BWCCA 2013), 2013, : 316 - 322
  • [49] Tolerant ad hoc data propagation with error quantification
    Roesch, Philipp
    CURRENT TRENDS IN DATABASE TECHNOLOGY - EDBT 2006, 2006, 4254 : 22 - 31
  • [50] Data management issues in mobile ad hoc networks
    Hara, Takahiro
    PROCEEDINGS OF THE JAPAN ACADEMY SERIES B-PHYSICAL AND BIOLOGICAL SCIENCES, 2017, 93 (05): : 270 - 296