Lightweight Semiformal Time Complexity Analysis for Purely Functional Data Structures

被引:45
|
作者
Danielsson, Nils Anders [1 ]
机构
[1] Chalmers Univ Technol, Gothenburg, Sweden
基金
英国工程与自然科学研究理事会;
关键词
Languages; performance; theory; verification;
D O I
10.1145/1328438.1328457
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Okasaki and others have demonstrated how purely functional data structures that are efficient even in the presence of persistence can be constructed. To achieve good time bounds essential use is often made of laziness. The associated complexity analysis is frequently subtle, requiring careful attention to detail, and hence formalising it is valuable. This paper describes a simple library which can be used to make the analysis of a class of purely functional data structures and algorithms almost fully formal. The basic idea is to use the type system to annotate every function with the time required to compute its result. An annotated monad is used to combine time complexity annotations. The library has been used to analyse some existing data structures, for instance the deque operations of Hinze and Paterson's finger trees.
引用
收藏
页码:133 / 144
页数:12
相关论文
共 50 条
  • [41] THE LIGHTWEIGHT DESIGN AND ANALYSIS OF MECHANICAL STRUCTURES TO A COMPACT BIOSENSOR
    Wang, H. K.
    Chen, Z. B.
    Chen, N.
    Cao, L. H.
    Wang, B.
    BASIC & CLINICAL PHARMACOLOGY & TOXICOLOGY, 2016, 118 : 106 - 106
  • [42] Comparative analysis for bus side structures and lightweight optimization
    Lan, F
    Chen, J
    Lin, J
    PROCEEDINGS OF THE INSTITUTION OF MECHANICAL ENGINEERS PART D-JOURNAL OF AUTOMOBILE ENGINEERING, 2004, 218 (D10) : 1067 - 1075
  • [43] Analysis of impact energy absorption by lightweight aramid structures
    Moure, M. M.
    Rubio, I.
    Aranda-Ruiz, J.
    Loya, A.
    Rodriguez-Millan, M.
    COMPOSITE STRUCTURES, 2018, 203 : 917 - 926
  • [44] Modal analysis of composite lightweight structures with manufacturing uncertainties
    Zehn, M. W.
    Machina, G.
    PROCEEDINGS OF ISMA2006: INTERNATIONAL CONFERENCE ON NOISE AND VIBRATION ENGINEERING, VOLS 1-8, 2006, : 4243 - 4256
  • [45] Vibration Damping Analysis of Lightweight Structures in Machine Tools
    Aggogeri, Francesco
    Borboni, Alberto
    Merlo, Angelo
    Pellegrini, Nicola
    Ricatto, Raffaele
    MATERIALS, 2017, 10 (03):
  • [46] Automated benchmarking of functional data structures
    Moss, GE
    Runciman, C
    PRACTICAL ASPECTS OF DECLARATIVE LANGUAGES, 1999, 1551 : 1 - 15
  • [47] Security Analysis and Complexity Comparison of Some Recent Lightweight RFID Protocols
    Vahedi, Ehsan
    Ward, Rabab K.
    Blake, Ian F.
    COMPUTATIONAL INTELLIGENCE IN SECURITY FOR INFORMATION SYSTEMS, 2011, 6694 : 92 - 99
  • [48] Estimating the complexity index of functional data: Some asymptotics
    Bongiorno, E. G.
    Goia, A.
    Vieu, P.
    STATISTICS & PROBABILITY LETTERS, 2020, 161
  • [49] CyBy2: a strongly typed, purely functional framework for chemical data management
    Stefan Höck
    Rainer Riedl
    Journal of Cheminformatics, 11
  • [50] Travels in time: Assessing the functional complexity of T cells
    Haining, W. Nicholas
    PROCEEDINGS OF THE NATIONAL ACADEMY OF SCIENCES OF THE UNITED STATES OF AMERICA, 2012, 109 (05) : 1359 - 1360